mirror of
https://github.com/fergalmoran/podnoms.git
synced 2026-02-05 15:25:22 +00:00
13 lines
424 B
C#
13 lines
424 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 id, string slug);
|
|
Task<IEnumerable<Podcast>> GetAllAsync(string id);
|
|
Task<Podcast> AddOrUpdateAsync(Podcast item);
|
|
Task<int> DeleteAsync(int id);
|
|
}
|
|
} |