Files
ersatztv/ErsatzTV.Core/Interfaces/Repositories/IChannelRepository.cs
T
Jason DoveandGitHub 9462156148 fix mysql playout builds (#2352)
* more cancellation tokens and fixes

* so much cancellation token

* fix mysql playout builds
2025-08-27 18:09:56 +00:00

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);
}