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

22 lines
652 B
C#
Raw Normal View History

2023-04-07 10:55:40 +04:00
using CanteenContracts.BindingModels;
using CanteenContracts.SearchModel;
using CanteenContracts.View;
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 ICookStorage
2023-04-06 14:34:58 +04:00
{
2023-04-07 10:55:40 +04:00
List<CookViewModel> GetFullList();
List<CookViewModel> GetFilteredList(CookSearchModel model);
CookViewModel? GetElement(CookSearchModel model);
CookViewModel? Insert(CookBindingModel model);
CookViewModel? Update(CookBindingModel model);
CookViewModel? Delete(CookBindingModel model);
2023-04-06 14:34:58 +04:00
}
}