mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
17 lines
No EOL
545 B
C#
17 lines
No EOL
545 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Ombi.Store.Entities;
|
|
|
|
namespace Ombi.Store.Repository
|
|
{
|
|
public interface IPlexContentRepository
|
|
{
|
|
Task<PlexContent> Add(PlexContent content);
|
|
Task AddRange(IEnumerable<PlexContent> content);
|
|
Task<bool> ContentExists(string providerId);
|
|
Task<IEnumerable<PlexContent>> GetAll();
|
|
Task<PlexContent> Get(string providerId);
|
|
Task<PlexContent> GetByKey(string key);
|
|
Task Update(PlexContent existingContent);
|
|
}
|
|
} |