2024-02-06 12:37:25 +04:00
|
|
|
|
using GiftShopContracts.BindingModels;
|
|
|
|
|
using GiftShopContracts.SearchModels;
|
|
|
|
|
using GiftShopContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace GiftShopContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
|
|
|
|
2024-05-15 15:07:11 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
|
|
2024-02-06 12:37:25 +04:00
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|