Добавлен контракт бизнес-логики для магазина

This commit is contained in:
Никита Потапов 2024-03-11 10:09:10 +04:00
parent 8543221b7d
commit f250827f9d

View File

@ -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);
}
}