mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-13 08:42:57 -07:00
Added the recently added engine with some basic methods
This commit is contained in:
parent
5a22802663
commit
109f5317bb
5 changed files with 110 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue