2023-02-14 00:08:23 +04:00
|
|
|
|
using ConfectioneryContracts.BindingModels;
|
|
|
|
|
using ConfectioneryContracts.SearchModels;
|
|
|
|
|
using ConfectioneryContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ConfectioneryContracts.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);
|
2023-05-03 23:15:51 +04:00
|
|
|
|
|
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
2023-02-14 00:08:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|