2023-03-31 19:55:55 +04:00
|
|
|
|
using GiftShopContracts.BindingModels;
|
|
|
|
|
using GiftShopContracts.SearchModels;
|
|
|
|
|
using GiftShopContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace GiftShopContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
|
|
|
|
2023-05-14 14:10:25 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
|
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
2023-03-31 19:55:55 +04:00
|
|
|
|
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|