private static ResolveResult BuildMethodNotAllowedResult(Context context, IEnumerable <string> allowedMethods) { var route = new MethodNotAllowedRoute(context.Request.Path, context.Request.Method, allowedMethods); return(new ResolveResult(route, new DynamicDictionary())); }
private static ResolveResult BuildMethodNotAllowedResult(Context context, IEnumerable<string> allowedMethods) { var route = new MethodNotAllowedRoute(context.Request.Path, context.Request.Method, allowedMethods); return new ResolveResult(route, new DynamicDictionary()); }