public ComponentController(IComponentRepository componentRepository, IProviderRepository providerRepository, IShoppingCartRepository shoppingCartRepository, IShopRepository shopRepository, IShopStockRepository shopStockRepository) { IComponentRepository = componentRepository; IProviderRepository = providerRepository; IShoppingCartRepository = shoppingCartRepository; IShopRepository = shopRepository; IShopStockRepository = shopStockRepository; }
public ShopStockController(IShopStockRepository shopStockRepository) { IShopStockRepository = shopStockRepository; }
public ShopStockService(IShopStockRepository shopstockrepository, IUnitOfWork unitofwork) { this._shopstockrepository = shopstockrepository; this._unitofwork = unitofwork; }