Creation des Challonges a partir des Event WordPress

This commit is contained in:
2018-10-08 23:33:18 +02:00
parent 70b5ea54f7
commit 39075051b2
10 changed files with 264 additions and 114 deletions

View File

@@ -9,5 +9,6 @@ namespace LaDOSE.Business.Interface
Task<Boolean> GetLastTournament();
string GetLastTournamentMessage();
Task<TournamentResult> CreateTournament(string name, string url);
Task<ParticipantResult> AddPlayer(int tournamentId, string userName);
}
}

View File

@@ -4,6 +4,6 @@ namespace LaDOSE.Business.Interface
{
public interface IEventService : IBaseService<Event>
{
bool CreateChallonge(int dto);
bool CreateChallonge(int eventId, int wpEventId);
}
}