using Newsbot.Collector.Domain.Entities; namespace Newsbot.Collector.Domain.Interfaces; public interface IDiscordWebHooksRepository { DiscordWebhookEntity New(DiscordWebhookEntity model); DiscordWebhookEntity GetById(Guid id); DiscordWebhookEntity GetByUrl(string url); List List(int page, int count = 25); List ListByUserId(string userId, int page); List ListByServer(string server, int limit); List ListByServerAndChannel(string server, string channel, int limit); int Disable(Guid id); int Enable(Guid id); }