PIbd-21_TeryokhinAS_Bar_Base/Bar/BarContracts/StoragesContracts/ICocktailStorage.cs

22 lines
691 B
C#

using BarContracts.BindingModels;
using BarContracts.SearchModels;
using BarContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BarContracts.StoragesContracts
{
public interface ICocktailStorage
{
List<CocktailViewModel> GetFullList();
List<CocktailViewModel> GetFilteredList(CocktailSearchModel model);
CocktailViewModel? GetElement(CocktailSearchModel model);
CocktailViewModel? Insert(CocktailBindingModel model);
CocktailViewModel? Update(CocktailBindingModel model);
CocktailViewModel? Delete(CocktailBindingModel model);
}
}