Пример #1
0
 public SubcategoriesController(ISubcategoryService subcategoryService, ISubcategoryPropertyService subcatPropService, ICategoryService categoryService, IImageService imageService)
 {
     _subcategoryService = subcategoryService;
     _subcatPropService  = subcatPropService;
     _categoryService    = categoryService;
     _imageService       = imageService;
 }
Пример #2
0
 public ProductDataController(IProductDataService productDataService, ISubcategoryService subcategoryService, IPropertyService propertyService, ISubcategoryPropertyService subcatPropService, IProductService productService)
 {
     _productDataService = productDataService;
     _subcategoryService = subcategoryService;
     _propertyService    = propertyService;
     _subcatPropService  = subcatPropService;
     _productService     = productService;
 }
 /// <summary>
 /// Constructor for controller
 /// </summary>
 /// <param name="subcatPropService">Service for SubcategoryProperties</param>
 /// <param name="propertyService">Service for Properties</param>
 /// <param name="subcategoryService">Service for Subcategory</param>
 public SubcategoryPropertyController(ISubcategoryPropertyService subcatPropService, IPropertyService propertyService, ISubcategoryService subcategoryService)
 {
     _subcatPropService  = subcatPropService;
     _propertyService    = propertyService;
     _subcategoryService = subcategoryService;
 }