What\'s the benefit of setting an alias for an action method using the \"ActionName\" attribute? I really don\'t see much benefit of it, in providing the user the option to
Try this code:
public class ProductsController { [ActionName("create-product")] public ActionResult CreateProduct() { return View("CreateProduct"); } }