Files
podnoms/server/Persistence/IPodcastRepository.cs
Fergal Moran 0d5778bf90 LE
2018-03-13 21:51:08 +00:00

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);
}
}