Добавлен контракт бизнес-логики для магазина
This commit is contained in:
parent
8543221b7d
commit
f250827f9d
@ -0,0 +1,17 @@
|
||||
using SecuritySystemContracts.BindingModels;
|
||||
using SecuritySystemContracts.SearchModels;
|
||||
using SecuritySystemContracts.ViewModels;
|
||||
using SecuritySystemDataModels.Models;
|
||||
|
||||
namespace SecuritySystemContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IShopLogic
|
||||
{
|
||||
ShopViewModel? ReadElement(ShopSearchModel model);
|
||||
List<ShopViewModel>? ReadList(ShopSearchModel? model);
|
||||
bool Create(ShopBindingModel model);
|
||||
bool Update(ShopBindingModel model);
|
||||
bool Delete(ShopBindingModel model);
|
||||
bool SupplySecures(ShopSearchModel model, ISecureModel secure, int count);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user