PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/StoragesContracts/ILunchStorage.cs

25 lines
816 B
C#

using CanteenContracts.BindingModels;
using CanteenContracts.SearchModel;
using CanteenContracts.SearchModels;
using CanteenContracts.View;
using CanteenContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanteenContracts.StoragesContracts
{
public interface ILunchStorage
{
List<LunchViewModel> GetFullList();
List<LunchViewModel> GetFilteredList(LunchSearchModel model);
LunchViewModel? GetElement(LunchSearchModel model);
LunchOrderViewModel? GetLunchOrderElement(LunchOrderSearchModel model);
LunchViewModel? Insert(LunchBindingModel model);
LunchViewModel? Update(LunchBindingModel model);
LunchViewModel? Delete(LunchBindingModel model);
}
}