public SubCategoriesController(ICreateSubCategoryCommand createSubCategory, IGetSubCategoriesCommand getSubCategories) { _createSubCategory = createSubCategory; _getSubCategories = getSubCategories; }
public SubCategoryController(ICreateSubCategoryCommand createSubCategoryCommand, IListSubCategoryCommand listSubCategoryCommand) { _createSubCategoryCommand = createSubCategoryCommand; _listSubCategoryCommand = listSubCategoryCommand; }