public static void AddStorefrontRoute(this RouteCollection routes, string name, string url, object defaults, object constraints) { routes.AddStorefrontRoute(name, url, defaults, constraints, x => new Route(x, new MvcRouteHandler())); }
public static void AddStorefrontRoute(this RouteCollection routes, string name, string url, object defaults) { routes.AddStorefrontRoute(name, url, defaults, null); }