Files
LaDOSE/LaDOSE.Src/LaDOSE.Service/Interface/IChallongeProvider.cs

17 lines
538 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
2018-10-07 18:06:38 +02:00
using ChallongeCSharpDriver.Core.Results;
namespace LaDOSE.Business.Interface
{
public interface IChallongeProvider
{
Task<string> GetLastTournament();
string GetLastTournamentMessage();
2018-10-07 18:06:38 +02:00
Task<TournamentResult> CreateTournament(string name, string url);
Task<ParticipantResult> AddPlayer(int tournamentId, string userName);
Task<List<TournamentResult>> GetTournaments(DateTime? start, DateTime? end);
}
}