2024-02-18 00:35:38 +04:00
|
|
|
|
using FoodOrdersContracts.BindingModels;
|
|
|
|
|
using FoodOrdersContracts.SearchModels;
|
|
|
|
|
using FoodOrdersContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace FoodOrdersContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
|
|
|
|
2024-05-05 21:45:07 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
|
|
2024-02-18 00:35:38 +04:00
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|