using System.Globalization; using Newsbot.Collector.Domain.Models; namespace Newsbot.Collector.Domain.Interfaces; public interface ISourcesRepository { public SourceModel New(SourceModel model); public SourceModel GetByID(Guid ID); public SourceModel GetByID(string ID); public SourceModel GetByName(string name); public SourceModel GetByNameAndSource(string name, string source); public List List(int limit); public List ListBySource(string source, int limit); public List ListByType(string type, int limit = 25); public int Disable(Guid ID); public int Enable(Guid ID); }