public class RouteConfig |
{ |
public static void RegisterRoutes(RouteCollection routes) |
{ |
routes.IgnoreRoute(“{resource}.axd/{*pathInfo}”); |
routes.MapRoute( |
name: “Default”, |
url: “{controller}/{action}/{page}”, |
defaults: new { controller = “User”, action = “Index”, page = UrlParameter.Optional } |
); |
} |
} |