This commit is contained in:
Jamie.Rees 2017-05-25 16:40:10 +01:00
commit fc3ed1105d
26 changed files with 294 additions and 166 deletions

View file

@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Ombi.Store.Entities;
@ -17,5 +18,6 @@ namespace Ombi.Store.Repository
Task<RequestBlobs> InsertAsync(RequestBlobs entity);
RequestBlobs Update(RequestBlobs entity);
void UpdateAll(IEnumerable<RequestBlobs> entity);
IQueryable<RequestBlobs> GetAllQueryable();
}
}

View file

@ -143,5 +143,10 @@ namespace Ombi.Store.Repository
Db.SaveChanges();
}
public IQueryable<RequestBlobs> GetAllQueryable()
{
return Db.Requests.AsQueryable();
}
}
}