Files
LaDOSE/LaDOSE.Src/LaDOSE.Service/Interface/IChallongeProvider.cs
Darkstack aebc60d17f Smash test
test debug

Result

Disctinct by selector
Refactoring Smash/Challonge

Test Resultat

Html for Kiouze
2022-03-19 23:05:13 +01:00

22 lines
806 B
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ChallongeCSharpDriver.Core.Results;
using LaDOSE.Entity.Challonge;
namespace LaDOSE.Business.Interface
{
public interface IChallongeProvider
{
Task<string> GetLastTournament();
string GetLastTournamentMessage();
Task<TournamentResult> CreateTournament(string name, string url, DateTime? startAt);
Task<ParticipantResult> AddPlayer(int tournamentId, string userName);
Task<List<ChallongeTournament>> GetTournaments(DateTime? start, DateTime? end);
Task<List<ChallongeParticipent>> GetParticipents(int idTournament);
Task<ChallongeTournament> GetTournament(int idTournament);
Task<ChallongeTournament> GetTournament(string urlTournament);
}
}