mirror of
https://github.com/fergalmoran/podnoms.git
synced 2026-01-03 15:14:11 +00:00
13 lines
470 B
C#
13 lines
470 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using PodNoms.Api.Models;
|
|
|
|
namespace PodNoms.Api.Persistence {
|
|
public interface IPlaylistRepository {
|
|
Task<Playlist> GetAsync(int id);
|
|
Task<IEnumerable<Playlist>> GetAllAsync();
|
|
Task<Playlist> AddOrUpdateAsync(Playlist playlist);
|
|
Task<ParsedPlaylistItem> GetParsedItem(string itemId, int playlistId);
|
|
Task<List<ParsedPlaylistItem>> GetUnprocessedItems();
|
|
}
|
|
} |