17 lines
552 B
C#
17 lines
552 B
C#
using SushiBarContracts.BindingModel;
|
|
using SushiBarContracts.SearchModel;
|
|
using SushiBarContracts.ViewModels;
|
|
|
|
namespace SushiBarContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IOrderLogic
|
|
{
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
bool CreateOrder(OrderBindingModel model);
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
bool FinishOrder(OrderBindingModel model);
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
}
|
|
}
|