Test tournament result.

This commit is contained in:
2019-05-29 02:15:31 +02:00
parent 1f5961cdd0
commit 959b3e922a
11 changed files with 124 additions and 20 deletions

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using ChallongeCSharpDriver.Core.Results;
using LaDOSE.Entity.Challonge;
namespace LaDOSE.Business.Interface
{
@@ -12,6 +13,7 @@ namespace LaDOSE.Business.Interface
Task<TournamentResult> CreateTournament(string name, string url);
Task<ParticipantResult> AddPlayer(int tournamentId, string userName);
Task<List<TournamentResult>> GetTournaments(DateTime? start, DateTime? end);
Task<List<Tournament>> GetTournaments(DateTime? start, DateTime? end);
Task<List<Participent>> GetParticipents(int tournamentId);
}
}

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using LaDOSE.Entity;
using LaDOSE.Entity.Challonge;
using LaDOSE.Entity.Wordpress;
namespace LaDOSE.Business.Interface
@@ -17,6 +18,6 @@ namespace LaDOSE.Business.Interface
Task<string> GetLastChallonge();
Task<List<Tuple<int, string, string>>> GetTournaments(DateTime? start, DateTime? end);
Task<List<Tournament>> GetTournaments(DateTime? start, DateTime? end);
}
}