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

22 lines
652 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-06 14:34:58 +04:00
bool CreateOrder(OrderBindingModel model);
2023-04-07 18:58:07 +04:00
bool AddLunch(LunchLinkBindingModel model);
bool AddDish(DishLinkBindingModel model);
bool AddCook(CookLinkBindingModel model);
2023-04-06 14:34:58 +04:00
}
}