mirror of
https://github.com/fergalmoran/podnoms.git
synced 2026-01-23 17:05:13 +00:00
16 lines
517 B
C#
16 lines
517 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using PodNoms.Api.Models;
|
|
|
|
namespace PodNoms.Api.Persistence
|
|
{
|
|
public interface IEntryRepository
|
|
{
|
|
Task<PodcastEntry> GetAsync(int id);
|
|
Task<PodcastEntry> GetByUidAsync(string uid);
|
|
Task<IEnumerable<PodcastEntry>> GetAllAsync(int podcastId);
|
|
Task<IEnumerable<PodcastEntry>> GetAllAsync(string podcastSlug);
|
|
Task<PodcastEntry> AddOrUpdateAsync(PodcastEntry entry);
|
|
Task DeleteAsync(int id);
|
|
}
|
|
} |