2023-04-01 13:23:19 +04:00
|
|
|
|
using HardwareShopContracts.BindingModels;
|
|
|
|
|
using HardwareShopContracts.SearchModels;
|
|
|
|
|
using HardwareShopContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace HardwareShopContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IPurchaseLogic
|
|
|
|
|
{
|
|
|
|
|
List<PurchaseViewModel>? ReadList(PurchaseSearchModel? model);
|
2023-04-08 16:57:03 +04:00
|
|
|
|
List<PurchaseViewModel>? ReadOrderList(PurchaseSearchModel model);
|
2023-04-04 02:09:53 +04:00
|
|
|
|
PurchaseViewModel? ReadElement(PurchaseSearchModel model);
|
2023-04-01 19:41:22 +04:00
|
|
|
|
bool Create(PurchaseBindingModel model);
|
|
|
|
|
bool Update(PurchaseBindingModel model);
|
|
|
|
|
bool Delete(PurchaseBindingModel model);
|
2023-04-01 13:23:19 +04:00
|
|
|
|
bool DeliveryPurchase(PurchaseBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|