22 lines
652 B
C#
22 lines
652 B
C#
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);
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
bool CreateOrder(OrderBindingModel model);
|
|
bool AddLunch(LunchLinkBindingModel model);
|
|
bool AddDish(DishLinkBindingModel model);
|
|
bool AddCook(CookLinkBindingModel model);
|
|
}
|
|
}
|