mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
20 lines
No EOL
693 B
C#
20 lines
No EOL
693 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<PlexContent>
|
|
{
|
|
Task<PlexContent> Add(PlexContent content);
|
|
Task<bool> ContentExists(string providerId);
|
|
Task<PlexContent> Get(string providerId);
|
|
Task<PlexContent> GetByKey(int key);
|
|
Task Update(PlexContent existingContent);
|
|
IQueryable<PlexEpisode> GetAllEpisodes();
|
|
Task<PlexEpisode> Add(PlexEpisode content);
|
|
Task<PlexEpisode> GetEpisodeByKey(int key);
|
|
Task AddRange(IEnumerable<PlexEpisode> content);
|
|
}
|
|
} |