using Bookstore.Domain.Books; namespace Bookstore.Domain.Orders { public interface IOrderRepository { protected internal Task GetAsync(int id); protected internal Task GetAsync(int id, string sub); protected internal Task> ListBestSellingBooksAsync(int count); protected internal Task> ListAsync(OrderFilters filters, int pageIndex = 1, int pageSize = 10); protected internal Task> ListAsync(string sub); protected internal Task AddAsync(Order order); protected internal Task GetStatisticsAsync(); protected internal Task SaveChangesAsync(); } }