Added the recently added engine with some basic methods

This commit is contained in:
Jamie 2018-02-14 13:43:39 +00:00
parent 5a22802663
commit 109f5317bb
5 changed files with 110 additions and 3 deletions

View file

@ -45,9 +45,9 @@ namespace Ombi.Store.Repository
private IOmbiContext Db { get; }
public async Task<IEnumerable<EmbyContent>> GetAll()
public IQueryable<EmbyContent> GetAll()
{
return await Db.EmbyContent.ToListAsync();
return Db.EmbyContent.AsQueryable();
}
public async Task AddRange(IEnumerable<EmbyContent> content)