mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
Started on the requests rework #865
This commit is contained in:
parent
dc9030c2ce
commit
8cf5a4c1fd
14 changed files with 207 additions and 250 deletions
|
@ -114,6 +114,11 @@ namespace Ombi.Core.Engine
|
|||
return await allRequests.ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<ChildRequests>> GetAllChldren(int tvId)
|
||||
{
|
||||
return await TvRepository.GetChild().Where(x => x.ParentRequestId == tvId).ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<TvRequests>> SearchTvRequest(string search)
|
||||
{
|
||||
var allRequests = TvRepository.Get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue