mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-15 01:32:55 -07:00
The move!
This commit is contained in:
parent
1daf480b1b
commit
25526cc4d9
1147 changed files with 85 additions and 8524 deletions
17
src/Ombi.Store/Repository/IPlexContentRepository.cs
Normal file
17
src/Ombi.Store/Repository/IPlexContentRepository.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue