2023-02-05 15:15:38 +04:00
|
|
|
|
using ConfectioneryContracts.BindingModels;
|
|
|
|
|
using ConfectioneryContracts.SearchModels;
|
|
|
|
|
using ConfectioneryContracts.ViewModels;
|
2023-02-05 14:44:03 +04:00
|
|
|
|
|
|
|
|
|
namespace ConfectioneryContracts.StoragesContract
|
|
|
|
|
{
|
2023-02-05 15:15:38 +04:00
|
|
|
|
public interface IShopStorage
|
2023-02-05 14:44:03 +04:00
|
|
|
|
{
|
2023-02-05 15:15:38 +04:00
|
|
|
|
List<ShopViewModel> GetFullList();
|
|
|
|
|
List<ShopViewModel> GetFilteredList(ShopSearchModel model);
|
|
|
|
|
ShopViewModel? GetElement(ShopSearchModel model);
|
|
|
|
|
ShopViewModel? Insert(ShopBindingModel model);
|
|
|
|
|
ShopViewModel? Update(ShopBindingModel model);
|
|
|
|
|
ShopViewModel? Delete(ShopBindingModel model);
|
2023-02-05 14:44:03 +04:00
|
|
|
|
}
|
|
|
|
|
}
|