MVC Code to Call Controller Action Method with Different URLs

Below Code will add new custom routes. This will allow you to call same Controller Action  method with different URLs.
e.g.:
 
1.http://localhost:25562/NewHome
2.http://localhost:25562/Home
URL will call Home controller Index method. 
  1. public class RouteConfig  
  2.     {  
  3.         public static void RegisterRoutes(RouteCollection routes)  
  4.         {  
  5.             routes.IgnoreRoute("{resource}.axd/{*pathInfo}");  
  6.   
  7.             routes.MapRoute(  
  8.                 name: "HomeRoute",  
  9.                 url: "Home",  
  10.                 defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }  
  11.             );  
  12.   
  13.             routes.MapRoute(  
  14.                 name: "NewHomeRoute",  
  15.                 url: "NewHome",  
  16.                 defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }  
  17.             );  
  18.   
  19.             routes.MapRoute(  
  20.                 name: "Default",  
  21.                 url: "{controller}/{action}/{id}",  
  22.                 defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }  
  23.             );  
  24.         }  
  25.     }