Добавлен интерфейс хранения магазинов IShopStorage
This commit is contained in:
parent
991ec196cc
commit
057693daef
@ -0,0 +1,16 @@
|
|||||||
|
using SecuritySystemContracts.BindingModels;
|
||||||
|
using SecuritySystemContracts.SearchModels;
|
||||||
|
using SecuritySystemContracts.ViewModels;
|
||||||
|
|
||||||
|
namespace SecuritySystemContracts.StoragesContracts
|
||||||
|
{
|
||||||
|
public interface IShopStorage
|
||||||
|
{
|
||||||
|
ShopViewModel? GetElement(ShopSearchModel model);
|
||||||
|
List<ShopViewModel> GetFullList();
|
||||||
|
List<ShopViewModel> GetFilteredList(ShopSearchModel model);
|
||||||
|
ShopViewModel? Insert(ShopBindingModel model);
|
||||||
|
ShopViewModel? Update(ShopBindingModel model);
|
||||||
|
ShopViewModel? Delete(ShopBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user