Files
LaDOSE/LaDOSE.Src/LaDOSE.Service/Interface/IWordPressService.cs
2019-05-29 02:15:31 +02:00

23 lines
692 B
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using LaDOSE.Entity;
using LaDOSE.Entity.Challonge;
using LaDOSE.Entity.Wordpress;
namespace LaDOSE.Business.Interface
{
public interface IWordPressService
{
WPEvent GetNextWpEvent();
List<WPEvent> GetWpEvent();
List<WPUser> GetBooking(int wpEventId, Game game);
List<WPUser> GetBookingOptions(int wpEventId, Game game);
bool UpdateBooking();
string CreateChallonge(int gameId, int wpEventId, IList<WPUser> additionPlayers);
Task<string> GetLastChallonge();
Task<List<Tournament>> GetTournaments(DateTime? start, DateTime? end);
}
}