2024-02-05 16:40:47 +04:00
|
|
|
|
using SushiBarContracts.BindingModels;
|
|
|
|
|
using SushiBarContracts.SearchModels;
|
|
|
|
|
using SushiBarContracts.ViewModels;
|
2024-02-05 16:26:35 +04:00
|
|
|
|
|
2024-02-05 16:40:47 +04:00
|
|
|
|
namespace SushiBarContracts.BusinessLogicsContracts
|
2024-02-05 16:26:35 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2024-05-08 08:52:27 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
2024-02-05 16:26:35 +04:00
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|