public ParentCategoriesController(IParentCategoryService parentCategoryService, IChildCategoryService childCategoryService, IMapper mapper) { this.parentCategoryService = parentCategoryService; this.childCategoryService = childCategoryService; this.mapper = mapper; }
public ParentCategoryController(IParentCategoryService parentCategoryService, IMapper mapper) { this.parentCategoryService = parentCategoryService; this.mapper = mapper; }
public HomeController(IProductService productService, IParentCategoryService parentCategoryService, IMapper mapper) { this.productService = productService; this.parentCategoryService = parentCategoryService; this.mapper = mapper; }