/// <summary> /// Initializes a new instance of the <see cref="CategoriesController"/> class. /// </summary> /// <param name="categoryApp">Category application flow.</param> /// <param name="urlHelperFactory">See <see cref="IUrlHelperFactory"/>.</param> public CategoriesController( ICategoryApp categoryApp, IUrlHelperFactory urlHelperFactory) { this.urlHelperFactory = urlHelperFactory; this.categoryApp = categoryApp; }
public CategoryController(ICategoryApp app) { _app = app; }