using OilShopManagement.Models; namespace OilShopManagement.Repositories; public interface IInvoiceRepository : IRepository { Task> GetAllWithDetailsAsync(); Task GetWithDetailsAsync(int id); Task> GetByDateRangeAsync(DateTime from, DateTime to); Task> GetByCustomerAsync(int customerId); Task GenerateInvoiceNumberAsync(); Task GetTotalSalesAsync(DateTime from, DateTime to); Task GetTotalProfitAsync(DateTime from, DateTime to); }