Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="productServices">declare productServices</param>
 public ProductController(IProductServices productServices, IBrandServices brandServices, ICategoryServices categoryServices, ResourcesServices resourcesServices)
 {
     _productServices   = productServices;
     _brandServices     = brandServices;
     _categoryServices  = categoryServices;
     _resourcesServices = resourcesServices;
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="stockServices">declare stockServices</param>
 public StockController(IStockServices stockServices, IProductServices productServices, IStoreServices storeServices, ResourcesServices resourcesServices)
 {
     _stockServices     = stockServices;
     _productServices   = productServices;
     _storeServices     = storeServices;
     _resourcesServices = resourcesServices;
 }