Sagar

Sagar

  • NA
  • 91
  • 854

multiple URLs to one action method in asp.net mvc

Nov 21 2016 4:06 AM
  • What is the need of giving multiple URLs to one action method or/and controller?
  •  
    [Route("Users/about")]
    [Route("Users/aboutme")] 
    [Route("Users/myinfo")]  
    public ActionResult GotoAbout()
    {
    .
    .
    .} 

Answers (1)