Challonge Provider can create tournament
This commit is contained in:
12
LaDOSE.Src/LaDOSE.Service/Interface/IChallongeProvider.cs
Normal file
12
LaDOSE.Src/LaDOSE.Service/Interface/IChallongeProvider.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LaDOSE.Business.Interface
|
||||
{
|
||||
public interface IChallongeProvider
|
||||
{
|
||||
Task<Boolean> GetLastTournament();
|
||||
string GetLastTournamentMessage();
|
||||
Task<Tuple<int, string>> CreateTournament(string name, string url);
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,6 @@ namespace LaDOSE.Business.Interface
|
||||
{
|
||||
public interface IEventService : IBaseService<Event>
|
||||
{
|
||||
|
||||
bool CreateChallonge(int dto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user