17 lines
547 B
C#
17 lines
547 B
C#
using SushiBarContracts.BindingModels;
|
|
using SushiBarContracts.SearchModels;
|
|
using SushiBarContracts.ViewModels;
|
|
|
|
namespace SushiBarContracts.StoragesContracts
|
|
{
|
|
public interface IShopStorage
|
|
{
|
|
List<ShopViewModel> GetFullList();
|
|
List<ShopViewModel> GetFilteredList(ShopSearchModel model);
|
|
ShopViewModel? GetElement(ShopSearchModel model);
|
|
ShopViewModel? Insert(ShopBindingModel model);
|
|
ShopViewModel? Update(ShopBindingModel model);
|
|
ShopViewModel? Delete(ShopBindingModel model);
|
|
}
|
|
}
|