mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-31 12:00:06 -07:00
#865 rework the backend data. Actually use real models rather than a JSON store.
This commit is contained in:
parent
08e389f590
commit
2bc916998c
55 changed files with 1277 additions and 702 deletions
|
@ -1,23 +1,22 @@
|
|||
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 Ombi.Store.Entities.Requests;
|
||||
|
||||
namespace Ombi.Core.Engine.Interfaces
|
||||
{
|
||||
public interface IMovieRequestEngine : IRequestEngine<MovieRequestModel>
|
||||
public interface IMovieRequestEngine : IRequestEngine<MovieRequests>
|
||||
{
|
||||
Task<RequestEngineResult> RequestMovie(SearchMovieViewModel model);
|
||||
|
||||
bool ShouldAutoApprove(RequestType requestType);
|
||||
|
||||
|
||||
Task<IEnumerable<MovieRequestModel>> SearchMovieRequest(string search);
|
||||
Task<IEnumerable<MovieRequests>> SearchMovieRequest(string search);
|
||||
|
||||
Task RemoveMovieRequest(int requestId);
|
||||
|
||||
Task<MovieRequestModel> UpdateMovieRequest(MovieRequestModel request);
|
||||
Task<MovieRequests> UpdateMovieRequest(MovieRequests request);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue