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

23 lines
699 B
C#
Raw Normal View History

2023-04-06 14:34:58 +04:00
using CanteenContracts.BindingModels;
using CanteenContracts.SearchModel;
using CanteenContracts.View;
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-04-09 13:00:51 +04:00
bool AddCook(OrderCookBindingModel model);
bool AddTableware(OrderTablewareBindingModel model);
2023-04-06 14:34:58 +04:00
}
}