Пример #1
0
 public ProductController(
         SettingService settingService,
         ProductService productService,
         ProductTypeService productTypeService,
         BrandService brandService,
         CategoryService categoryService)
 {
     _settingService = settingService;
     _productService = productService;
     _productTypeService = productTypeService;
     _brandService = brandService;
     _categoryService = categoryService;
 }
Пример #2
0
 public ProductTypeController(ProductTypeService productTypeService, PredefinedCustomFieldService customFieldService)
 {
     _productTypeService = productTypeService;
     _customFieldService = customFieldService;
 }