controller - Asp.Net MVC don't show Index action in url -
I like that the operation of the index is not in the URL.
For example, instead of
www.mywebsite.com/MyController/1
I
www.mywebsite.com/ Want to see MyController / Index / 1
Do I have to do something special in the HTML functional tag or global.exp file? {Route} ("index", "/ {controller} / {id}", new {controller = " Home ", action =" index "});
takes action on the default of this "index"
Comments
Post a Comment