mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 09:12:57 -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,19 +1,21 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Ombi.Core.Models.Requests;
|
||||
using Ombi.Core.Models.Requests.Tv;
|
||||
using Ombi.Core.Models.Search;
|
||||
using Ombi.Store.Entities.Requests;
|
||||
|
||||
namespace Ombi.Core.Engine.Interfaces
|
||||
{
|
||||
public interface ITvRequestEngine : IRequestEngine<TvRequestModel>
|
||||
public interface ITvRequestEngine : IRequestEngine<TvRequests>
|
||||
{
|
||||
|
||||
Task RemoveTvRequest(int requestId);
|
||||
|
||||
Task<RequestEngineResult> RequestTvShow(SearchTvShowViewModel tv);
|
||||
|
||||
Task<IEnumerable<TvRequestModel>> SearchTvRequest(string search);
|
||||
Task<IEnumerable<TvRequests>> SearchTvRequest(string search);
|
||||
|
||||
Task<TvRequestModel> UpdateTvRequest(TvRequestModel request);
|
||||
Task<TvRequests> UpdateTvRequest(TvRequests request);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue