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);
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|