ISEbd-21_Khaliullov_R.A._Co.../Canteen/CanteenContracts/BusinessLogicsContracts/IOrderLogic.cs

23 lines
658 B
C#
Raw Permalink Normal View History

2024-04-30 18:48:42 +04:00
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);
}
}