mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-31 12:00:06 -07:00
Request Grid test
This commit is contained in:
parent
e0018f63fa
commit
d5ec429893
24 changed files with 583 additions and 71 deletions
|
@ -1,26 +1,23 @@
|
|||
using Ombi.Core.Models.Requests;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Ombi.Core.Models.Requests;
|
||||
using Ombi.Core.Models.Requests.Movie;
|
||||
using Ombi.Core.Models.Search;
|
||||
using Ombi.Store.Entities;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Ombi.Core.Engine
|
||||
namespace Ombi.Core.Engine.Interfaces
|
||||
{
|
||||
public interface IMovieRequestEngine
|
||||
public interface IMovieRequestEngine : IRequestEngine<MovieRequestModel>
|
||||
{
|
||||
Task<RequestEngineResult> RequestMovie(SearchMovieViewModel model);
|
||||
|
||||
bool ShouldAutoApprove(RequestType requestType);
|
||||
|
||||
Task<IEnumerable<MovieRequestModel>> GetMovieRequests(int count, int position);
|
||||
|
||||
|
||||
Task<IEnumerable<MovieRequestModel>> SearchMovieRequest(string search);
|
||||
|
||||
Task RemoveMovieRequest(int requestId);
|
||||
|
||||
Task<MovieRequestModel> UpdateMovieRequest(MovieRequestModel request);
|
||||
|
||||
RequestCountModel RequestCount();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue