public static IDashboardRoute GetRoute(string verb, string handlerRelativeUrl) { verb = NormalizeVerb(verb); string path = NormalizeHandlerRelativeUrl(handlerRelativeUrl); foreach (IDashboardRoute route in Routes) { if (route.IsMatch(verb, path)) { return route; } } return null; }