2023-04-07 10:55:40 +04:00
|
|
|
|
using CanteenContracts.BindingModels;
|
|
|
|
|
using CanteenContracts.SearchModel;
|
2023-04-09 13:00:51 +04:00
|
|
|
|
using CanteenContracts.SearchModels;
|
2023-04-07 10:55:40 +04:00
|
|
|
|
using CanteenContracts.View;
|
2023-04-09 13:00:51 +04:00
|
|
|
|
using CanteenContracts.ViewModels;
|
2023-04-07 10:55:40 +04:00
|
|
|
|
using System;
|
2023-04-06 14:34:58 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace CanteenContracts.StoragesContracts
|
|
|
|
|
{
|
2023-04-07 10:55:40 +04:00
|
|
|
|
public interface ILunchStorage
|
2023-04-06 14:34:58 +04:00
|
|
|
|
{
|
2023-04-07 10:55:40 +04:00
|
|
|
|
List<LunchViewModel> GetFullList();
|
|
|
|
|
List<LunchViewModel> GetFilteredList(LunchSearchModel model);
|
|
|
|
|
LunchViewModel? GetElement(LunchSearchModel model);
|
2023-04-09 13:00:51 +04:00
|
|
|
|
LunchOrderViewModel? GetLunchOrderElement(LunchOrderSearchModel model);
|
2023-04-07 10:55:40 +04:00
|
|
|
|
LunchViewModel? Insert(LunchBindingModel model);
|
|
|
|
|
LunchViewModel? Update(LunchBindingModel model);
|
|
|
|
|
LunchViewModel? Delete(LunchBindingModel model);
|
2023-04-09 13:00:51 +04:00
|
|
|
|
bool AddOrder(LunchOrderBindingModel model);
|
2023-04-06 14:34:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|