mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
* Added issuesreporting and the ability to add categories to the UI * Added lazy loading!
19 lines
No EOL
665 B
C#
19 lines
No EOL
665 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Ombi.Store.Entities;
|
|
|
|
namespace Ombi.Store.Repository
|
|
{
|
|
public interface IPlexContentRepository : IRepository<PlexServerContent>
|
|
{
|
|
Task<bool> ContentExists(string providerId);
|
|
Task<PlexServerContent> Get(string providerId);
|
|
Task<PlexServerContent> GetByKey(int key);
|
|
Task Update(PlexServerContent existingContent);
|
|
IQueryable<PlexEpisode> GetAllEpisodes();
|
|
Task<PlexEpisode> Add(PlexEpisode content);
|
|
Task<PlexEpisode> GetEpisodeByKey(int key);
|
|
Task AddRange(IEnumerable<PlexEpisode> content);
|
|
}
|
|
} |