public object Any(FallbackForClientRoutes request)
 {
     //Return default.cshtml for unmatched requests so routing is handled on the client
     return(new HttpResult
     {
         View = "/default.cshtml"
     });
 }
Esempio n. 2
0
 //Return index.html for unmatched requests so routing is handled on client
 public object Any(FallbackForClientRoutes request) =>
 new PageResult(Request.GetPage("/"));