15 lines
354 B
C#
15 lines
354 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Repositories
|
|
{
|
|
public interface IMediaItemRepository
|
|
{
|
|
Task<Option<MediaItem>> Get(int id);
|
|
Task<List<MediaItem>> GetAll();
|
|
Task<bool> Update(MediaItem mediaItem);
|
|
}
|
|
}
|