Computer_Hardware_Store/HardwareShop/HardwareShopContracts/BusinessLogicsContracts/IPurchaseLogic.cs

17 lines
583 B
C#
Raw Normal View History

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);
PurchaseSearchModel? ReadElement(PurchaseSearchModel model);
bool Create(PurchaseBindingModel model);
bool Update(PurchaseBindingModel model);
bool Delete(PurchaseBindingModel model);
2023-04-01 13:23:19 +04:00
bool DeliveryPurchase(PurchaseBindingModel model);
}
}