public SubcategoriesController(ISubcategoryService subcategoryService, ISubcategoryPropertyService subcatPropService, ICategoryService categoryService, IImageService imageService) { _subcategoryService = subcategoryService; _subcatPropService = subcatPropService; _categoryService = categoryService; _imageService = imageService; }
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; }