44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using TheButcherShopContracts.BusinessLogicContracts;
|
|
using TheButcherShopContracts.DataModels;
|
|
|
|
namespace ButcherShopBusinessLogic.Implementations;
|
|
|
|
internal class SaleBusinessLogicContract : ISaleBusinessLogicContract
|
|
{
|
|
public List<SaleDataModel> GetAllSalesByPeriod(DateTime fromDate, DateTime toDate)
|
|
{
|
|
return [];
|
|
}
|
|
public List<SaleDataModel> GetAllSalesByWorkerByPeriod(string workerId,
|
|
DateTime fromDate, DateTime toDate)
|
|
{
|
|
return [];
|
|
}
|
|
public List<SaleDataModel> GetAllSalesByBuyerByPeriod(string? buyerId,
|
|
DateTime fromDate, DateTime toDate)
|
|
{
|
|
return [];
|
|
}
|
|
public List<SaleDataModel> GetAllSalesByProductByPeriod(string productId,
|
|
DateTime fromDate, DateTime toDate)
|
|
{
|
|
return [];
|
|
}
|
|
public SaleDataModel GetSaleByData(string data)
|
|
{
|
|
return new("", "", 0, false, []);
|
|
}
|
|
public void InsertSale(SaleDataModel saleDataModel)
|
|
{
|
|
}
|
|
|
|
public void CancelSale(string id)
|
|
{
|
|
}
|
|
}
|