PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/BusinessLogicsContracts/IOrderLogic.cs

24 lines
796 B
C#
Raw Normal View History

2023-04-06 14:34:58 +04:00
using CanteenContracts.BindingModels;
using CanteenContracts.SearchModel;
using CanteenContracts.View;
2023-05-19 03:39:58 +04:00
using CanteenDataModels.Models;
2023-04-06 14:34:58 +04:00
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);
2023-04-07 18:58:07 +04:00
OrderViewModel? ReadElement(OrderSearchModel model);
2023-04-07 21:53:52 +04:00
bool Create(OrderBindingModel model);
bool Delete(OrderBindingModel model);
bool Update(OrderBindingModel model);
2023-05-19 03:39:58 +04:00
bool AddTablewareToOrder(OrderTablewareBindingModel model, ITablewareModel tableware, int count);
bool AddCooksToOrder(OrderSearchModel model, ICookModel cook);
2023-04-06 14:34:58 +04:00
}
}