using Newsbot.Collector.Domain.Entities; namespace Newsbot.Collector.Domain.Interfaces; public interface IDiscordWebHooksRepository { DiscordWebhookEntity New(DiscordWebhookEntity model); DiscordWebhookEntity GetById(string userId, Guid id); 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 userId, string server, string channel, int limit); int Disable(string userId, Guid id); int Enable(string userId, Guid id); }