22 lines
691 B
C#
22 lines
691 B
C#
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.BussinessLogicsContracts
|
|
{
|
|
public interface IOrderLogic
|
|
{
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
bool CreateOrder(OrderBindingModel model);
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
bool FinishOrder(OrderBindingModel model);
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
}
|
|
}
|