2024-05-22 12:29:39 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using PizzeriaContracts.BindingModels;
|
2024-02-28 01:32:56 +04:00
|
|
|
|
using PizzeriaContracts.SearchModels;
|
|
|
|
|
using PizzeriaContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace PizzeriaContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
2024-06-21 14:39:07 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
2024-02-28 01:32:56 +04:00
|
|
|
|
}
|
|
|
|
|
}
|