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