Exemple #1
0
        public ActionResult RouteDynamic()
        {
            var requestedPath = Request.AppRelativeCurrentExecutionFilePath;
            // TODO Should this cache request paths to prevent lookups?
            var routeInfo = RouteInfo.From(AreaName, requestedPath);

            return(Router.RouteDynamicRequest(routeInfo) ?? NotFound());
        }