Files
podnoms/server/Persistence/IPodcastRepository.cs
2017-10-30 23:26:19 +00:00

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