using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace BookingWeb { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "Common", url: "Common/{action}.aspx", defaults: new { controller = "Common", action = "GetCaptcha" } ); routes.MapRoute( name: "Default", url: "{client}/{lang}/{controller}/{action}.aspx", defaults: new { controller = "User", action = "Login" } ); } } }