fix 🐛
continuous-integration/drone/push Build is passing Details

pull/27/head
Corentin R 2 years ago
parent c06dbf0c0e
commit 503c69e553

@ -58,10 +58,11 @@ namespace EntityFramework.Manager
public Task<IEnumerable<Champion?>> GetItemsByName(string substring, int index, int count, string? orderingPropertyName = null, bool descending = false)
{
throw new NotImplementedException();
using (var context = new LoLDBContextWithStub())
{
IEnumerable<ChampionEntity> champ = context.Champions.Where(c => c.Name.Contains(substring));
return champ.ToList().Where(l => l.toCh)
//return champ.ToList().Where(l => l.toCh)
}
}

Loading…
Cancel
Save