Quick and Dirty Tournament Result / List
This commit is contained in:
@@ -14,6 +14,7 @@ namespace LaDOSE.Business.Interface
|
||||
Task<ParticipantResult> AddPlayer(int tournamentId, string userName);
|
||||
|
||||
Task<List<Tournament>> GetTournaments(DateTime? start, DateTime? end);
|
||||
Task<List<Participent>> GetParticipents(int tournamentId);
|
||||
Task<List<Participent>> GetParticipents(int idTournament);
|
||||
Task<Tournament> GetTournament(int idTournament);
|
||||
}
|
||||
}
|
||||
14
LaDOSE.Src/LaDOSE.Service/Interface/ITournamentService.cs
Normal file
14
LaDOSE.Src/LaDOSE.Service/Interface/ITournamentService.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using LaDOSE.Entity.Challonge;
|
||||
|
||||
namespace LaDOSE.Business.Interface
|
||||
{
|
||||
public interface ITournamentService
|
||||
{
|
||||
Task<List<Tournament>> GetTournaments(DateTime? start, DateTime? end);
|
||||
|
||||
Task<TournamentsResult> GetTournamentsResult(List<int> ids);
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using LaDOSE.Entity;
|
||||
using LaDOSE.Entity.Challonge;
|
||||
using LaDOSE.Entity.Wordpress;
|
||||
|
||||
namespace LaDOSE.Business.Interface
|
||||
@@ -18,6 +16,7 @@ namespace LaDOSE.Business.Interface
|
||||
|
||||
Task<string> GetLastChallonge();
|
||||
|
||||
Task<List<Tournament>> GetTournaments(DateTime? start, DateTime? end);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user