PIbd-21_Bakalskaya_E.D._Sus.../SushiBarContracts/BusinessLogicsContracts/IOrderLogic.cs

17 lines
552 B
C#
Raw Normal View History

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);
}
}