23 lines
658 B
C#
23 lines
658 B
C#
|
using CanteenContracts.BindingModels;
|
|||
|
using CanteenContracts.SearchModel;
|
|||
|
using CanteenContracts.ViewModels;
|
|||
|
using CanteenDataModels.Enums;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace CanteenContracts.BusinessLogicsContracts
|
|||
|
{
|
|||
|
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);
|
|||
|
}
|
|||
|
}
|