This commit is contained in:
@@ -78,6 +78,10 @@ namespace LaDOSE.Business.Service
|
||||
//}
|
||||
}
|
||||
|
||||
public async Task<List<Game>> GetSmashGames(string name)
|
||||
{
|
||||
return await _smashProvider.GetGames(name);
|
||||
}
|
||||
public async Task<Event> ParseSmash(string tournamentSlug)
|
||||
{
|
||||
Event eventExist = GetBySlug(tournamentSlug);
|
||||
@@ -109,6 +113,11 @@ namespace LaDOSE.Business.Service
|
||||
|
||||
}
|
||||
|
||||
public Task<List<Game>> GetSmashGame(string name)
|
||||
{
|
||||
return _smashProvider.GetGames(name);
|
||||
}
|
||||
|
||||
private Event GetBySlug(string tournamentSlug)
|
||||
{
|
||||
return _context.Event.FirstOrDefault(e => e.SmashSlug == tournamentSlug);
|
||||
|
||||
Reference in New Issue
Block a user