public class HomeController : Controller
{
[Route("Users/about")]
[Route("Users/WhoareWe")]
[Route("Users/OurTeam")]
[Route("Users/aboutCompany")]
public ActionResult GotoAbout()
{
return View();
}
}
I have many routes defined for action GotoAbout().
How to create route URL in razor page programmatically when generate URL for action like home/users/about ?