using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using PuferFishContracts.BusinessLogicsContracts; using PuferFishContracts.DataModels; using PuferFishContracts.StoragesContracts; namespace PuferFishBusinessLogic.Implementations; internal class SaleBusinessLogicContract(ISaleStorageContract saleStorageContract, ILogger logger) : ISaleBusinessLogicContract { private readonly ILogger _logger = logger; private readonly ISaleStorageContract _saleStorageContract = saleStorageContract; public List GetAllSalesByPeriod(DateTime fromDate, DateTime toDate) { return []; } public List GetAllSalesByWorkerByPeriod(string workerId, DateTime fromDate, DateTime toDate) { return []; } public List GetAllSalesByBuyerByPeriod(string? buyerId, DateTime fromDate, DateTime toDate) { return []; } public List GetAllSalesByProductByPeriod(string productId, DateTime fromDate, DateTime toDate) { return []; } public SaleDataModel GetSaleByData(string data) { return new("", "", "", 0, 0, false, []); } public void InsertSale(SaleDataModel saleDataModel) { } public void CancelSale(string id) { } }