Added the Radarr cacher #865

This commit is contained in:
tidusjar 2017-06-02 23:17:51 +01:00
parent d5ec429893
commit 1133f02d07
18 changed files with 2695 additions and 47 deletions

View file

@ -62,18 +62,6 @@ namespace Ombi.Store.Repository
//}, 5);
//return item;
}
public async Task<IEnumerable<RequestBlobs>> GetAllAsync(int count, int position)
{
//var key = "GetAll";
//var item = await Cache.GetOrSetAsync(key, async () =>
//{
var page = await Db.Requests.ToListAsync().ConfigureAwait(false);
return page.Skip(position).Take(count);
//}, 5);
//return item;
}
public RequestBlobs Get(int id)
{