* more cancellation tokens and fixes * so much cancellation token * fix mysql playout builds
12 lines
359 B
C#
12 lines
359 B
C#
using ErsatzTV.Core.Domain;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Repositories;
|
|
|
|
public interface IChannelRepository
|
|
{
|
|
Task<Option<Channel>> GetChannel(int id);
|
|
Task<Option<Channel>> GetByNumber(string number);
|
|
Task<List<Channel>> GetAll(CancellationToken cancellationToken);
|
|
Task<Option<ChannelWatermark>> GetWatermarkByName(string name);
|
|
}
|