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);
|
|
|
|
|
bool AddCook(CookBindingModel model);
|
2023-04-09 00:34:25 +04:00
|
|
|
|
bool AddTableware(TablewareBindingModel model);
|
2023-04-06 14:34:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|