using Bookstore.Domain.Orders; namespace Bookstore.Domain.Offers { public interface IOfferRepository { protected internal Task> ListAsync(OfferFilters filters, int pageIndex, int pageSize); protected internal Task> ListAsync(string sub); protected internal Task GetAsync(int id); protected internal Task AddAsync(Offer offer); protected internal Task SaveChangesAsync(); Task GetStatisticsAsync(); } }