17 lines
579 B
C#
17 lines
579 B
C#
using HardwareShopContracts.BindingModels;
|
|
using HardwareShopContracts.SearchModels;
|
|
using HardwareShopContracts.ViewModels;
|
|
|
|
namespace HardwareShopContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IPurchaseLogic
|
|
{
|
|
List<PurchaseViewModel>? ReadList(PurchaseSearchModel? model);
|
|
CommentViewModel? ReadElement(CommentSearchModel model);
|
|
bool Create(PurchaseBindingModel model);
|
|
bool Update(PurchaseBindingModel model);
|
|
bool Delete(PurchaseBindingModel model);
|
|
bool DeliveryPurchase(PurchaseBindingModel model);
|
|
}
|
|
}
|