Files
podnoms/server/Persistence/IPodcastRepository.cs
Fergal Moran 8d69c72b83 Merge Repos
2017-10-30 20:42:23 +00:00

16 lines
498 B
C#
Executable File

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();
Task<IEnumerable<Podcast>> GetAllAsync(string emailAddress);
Task<Podcast> AddOrUpdateAsync(Podcast item);
Task<int> DeleteAsync(int id);
}
}