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 ILunchLogic
|
|
|
|
|
{
|
|
|
|
|
List<LunchViewModel>? ReadList(LunchSearchModel? model);
|
|
|
|
|
LunchViewModel? ReadElement(LunchSearchModel model);
|
|
|
|
|
bool Create(LunchBindingModel model);
|
|
|
|
|
bool Update(LunchBindingModel model);
|
2023-04-09 00:34:25 +04:00
|
|
|
|
bool Delete(LunchBindingModel model);
|
2023-04-07 21:53:52 +04:00
|
|
|
|
bool Finish(LunchBindingModel model);
|
2023-04-09 13:00:51 +04:00
|
|
|
|
bool AddOrder(LunchOrderBindingModel model);
|
2023-04-06 14:34:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|