2022-03-20 19:36:15 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using LaDOSE.Entity;
|
|
|
|
|
|
using LaDOSE.Entity.Challonge;
|
|
|
|
|
|
|
|
|
|
|
|
namespace LaDOSE.Business.Interface
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IExternalProviderService
|
|
|
|
|
|
{
|
|
|
|
|
|
Task<List<ChallongeTournament>> GetTournaments(DateTime? start, DateTime? end);
|
2022-03-22 00:14:46 +01:00
|
|
|
|
Task<Event> ParseSmash(string tournamentSlug);
|
|
|
|
|
|
Task<List<Event>> ParseChallonge(List<int> ids);
|
2022-03-20 19:36:15 +01:00
|
|
|
|
|
2022-03-22 00:14:46 +01:00
|
|
|
|
//Task<TournamentsResult> GetChallongeTournamentsResult(List<int> ids);
|
|
|
|
|
|
//Task<TournamentsResult> GetSmashResult(string tournamentSlug);
|
2022-03-20 19:36:15 +01:00
|
|
|
|
|
|
|
|
|
|
Task<List<Event>> GetChallongeEvents(List<int> ids);
|
2022-03-22 00:14:46 +01:00
|
|
|
|
|
|
|
|
|
|
Task<TournamentsResult> GetEventsResult(List<int> ids);
|
2022-05-18 22:47:28 +02:00
|
|
|
|
Task<List<String>> GetPlayer(string slug);
|
2022-03-20 19:36:15 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|