问题 I am trying to create constraint for route.Based on the access info retrieved from Db,i will choose which route to choose. I have created controller inheriting IRouteConstraint and calling repository,but Unable to get result from httpclient call. Code snippet of my routeConfig routes.MapRoute( name: "Home", url: "{*routelink}", defaults: new { controller = "Home", action = "Index" }, constraints: new { routelink = new UserAccessController("Home") } ); routes.MapRoute( name: "Reports", url: "{