PIbd-22_Katysheva_N.E._Pizz.../Pizzeria/PizzeriaContracts/BusinessLogicsContracts/IOrderLogic.cs
2024-06-21 14:39:07 +04:00

18 lines
588 B
C#

using System.Collections.Generic;
using PizzeriaContracts.BindingModels;
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);
OrderViewModel? ReadElement(OrderSearchModel model);
}
}