mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-30 05:09:37 +00:00
15 lines
448 B
C#
15 lines
448 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using PodNoms.Api.Models;
|
|
|
|
namespace PodNoms.Api.Persistence
|
|
{
|
|
public interface IPodcastRepository
|
|
{
|
|
Task<Podcast> GetAsync(int id);
|
|
Task<Podcast> GetAsync(string emailAddress, string slug);
|
|
Task<IEnumerable<Podcast>> GetAllAsync(string emailAddress);
|
|
Task<Podcast> AddOrUpdateAsync(Podcast item);
|
|
Task<int> DeleteAsync(int id);
|
|
}
|
|
} |