using System.Collections.Generic; using System.Threading.Tasks; using PodNoms.Api.Models; namespace PodNoms.Api.Persistence { public interface IEntryRepository { Task GetAsync(int id); Task GetByUidAsync(string uid); Task> GetAllAsync(int podcastId); Task> GetAllAsync(string podcastSlug); Task AddOrUpdateAsync(PodcastEntry entry); Task DeleteAsync(int id); } }