Add new agnostic challonge provider

This commit is contained in:
2022-03-20 19:36:15 +01:00
parent 92b6d3e568
commit ee48b7d75c
17 changed files with 561 additions and 314 deletions

View File

@@ -25,6 +25,11 @@ namespace LaDOSE.Business.Service
return base.AddOrUpdate(entity);
}
public int? GetIdByName(string name)
{
return _context.Game.FirstOrDefault(e => e.Name == name)?.Id ?? null;
}
public override IEnumerable<Game> GetAll()
{
return _context.Game.ToList();