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

19 lines
630 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;
2019-05-29 02:15:31 +02:00
using LaDOSE.Entity.Challonge;
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);
2019-05-29 02:15:31 +02:00
Task<List<Tournament>> GetTournaments(DateTime? start, DateTime? end);
Task<List<Participent>> GetParticipents(int tournamentId);
}
}