20 lines
686 B
C#
20 lines
686 B
C#
using CandyHouseContracts.DataModels;
|
|
|
|
namespace CandyHouseContracts.BusinessLogicsContracts;
|
|
|
|
internal interface ISaleBusinessLogicContract
|
|
{
|
|
List<SaleDataModel> GetAllSalesByPeriod(DateTime fromDate, DateTime toDate);
|
|
|
|
List<SaleDataModel> GetAllSalesByEmployeeByPeriod(string employeeId, DateTime fromDate, DateTime toDate);
|
|
|
|
List<SaleDataModel> GetAllSalesByClientByPeriod(string clientId, DateTime fromDate, DateTime toDate);
|
|
|
|
List<SaleDataModel> GetAllSalesByProductByPeriod(string productId, DateTime fromDate, DateTime toDate);
|
|
|
|
SaleDataModel GetSaleByData(string data);
|
|
|
|
void InsertSale(SaleDataModel saleDataModel);
|
|
|
|
void CancelSale(string id);
|
|
} |