* refactor create playout handler * refactor get all playouts handler * refactor delete playout handler * remove dead code * ignore unnamed artists for collections * more repository cleanup * more schedule items refactoring * more playout refactoring * refactor playout builder * refactor ffmpeg profiles * more ffmpeg profile refactoring * rework resolutions * refactor media collections * refactor config elements * update changelog * more cleanup
19 lines
537 B
C#
19 lines
537 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Repositories
|
|
{
|
|
public interface IChannelRepository
|
|
{
|
|
Task<Option<Channel>> Get(int id);
|
|
Task<Option<Channel>> GetByNumber(string number);
|
|
Task<List<Channel>> GetAll();
|
|
Task<List<Channel>> GetAllForGuide();
|
|
Task<bool> Update(Channel channel);
|
|
Task Delete(int channelId);
|
|
Task<Unit> RemoveWatermark(Channel channel);
|
|
}
|
|
}
|