2023-04-05 18:31:49 +04:00
|
|
|
|
using ComputerShopContracts.BindingModels;
|
|
|
|
|
using ComputerShopContracts.SearchModels;
|
|
|
|
|
using ComputerShopContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ComputerShopContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IPurchaseLogic
|
|
|
|
|
{
|
|
|
|
|
List<PurchaseViewModel>? ReadList(PurchaseSearchModel? model);
|
2023-04-07 18:59:41 +04:00
|
|
|
|
bool CreatePurchase(PurchaseBindingModel model);
|
2023-04-05 18:31:49 +04:00
|
|
|
|
bool TakeOrderInWork(PurchaseBindingModel model);
|
|
|
|
|
bool FinishOrder(PurchaseBindingModel model);
|
|
|
|
|
bool DeliveryOrder(PurchaseBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|