mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-22 09:18:08 +00:00
13 lines
428 B
C#
13 lines
428 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using PodNoms.Api.Models;
|
|
|
|
namespace PodNoms.Api.Persistence.Old {
|
|
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);
|
|
}
|
|
} |