using NorthBridgeContract.DataModels; namespace NorthBridgeContract.BusinessLogicsContracts; public interface ISaleBusinessLogicContract { List GetAllSalesByPeriod(DateTime fromDate, DateTime toDate); List GetAllSalesByWorkerByPeriod(string workerId, DateTime fromDate, DateTime toDate); List GetAllSalesByBuyerByPeriod(string buyerId, DateTime fromDate, DateTime toDate); List GetAllSalesByProductByPeriod(string productId, DateTime fromDate, DateTime toDate); SaleDataModel GetSaleByData(string data); void InsertSale(SaleDataModel saleDataModel); void CancelSale(string id); }