2024-02-24 21:32:11 +04:00
|
|
|
|
using DinerContracts.BindingModels;
|
|
|
|
|
using DinerContracts.SearchModels;
|
|
|
|
|
using DinerContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DinerContracts.BusinessLogicsContacts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
|
|
|
|
2024-05-13 16:49:39 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
|
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
2024-05-13 16:49:39 +04:00
|
|
|
|
|
|
|
|
|
}
|
2024-02-24 21:32:11 +04:00
|
|
|
|
}
|