16 lines
501 B
C#
16 lines
501 B
C#
using FoodOrdersContracts.BindingModels;
|
|
using FoodOrdersContracts.SearchModels;
|
|
using FoodOrdersContracts.ViewModels;
|
|
|
|
namespace FoodOrdersContracts.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);
|
|
}
|
|
}
|