Forums - C# Corner

Forum guidelines
S!vA Boy!D!

S!vA Boy!D!

  • 1.7k
  • 37
  • 528

How to remove controller name from URL in MVC

Oct 21 2018 4:14 AM
Here are my routes    localhost:1234/Admin/AdminLogin
                                   localhost:1234/Admin/BankerLogin
                                   localhost:1234/Admin/OuterLogin  
 
and i want this route to be like this
 
localhost:1234/Admin
localhost:1234/Banker
localhost:1234/Outer
 
Please help me out, how can i do this? 
 
 
 
Thanks in advance... 

Answers (6)