title: Matching route with parameters
body: <p>I'm new working with routes. </p>
  
  <p>Some one know what this route doesn't work.</p>
  
  <p>/dispatch/Paris/Lixo = page not found</p>
  
  <p>/dispatch?region=Paris&amp;department=Lixo //works.</p>
  
  <p><strong>Global.asax:</strong></p>
  
  <pre><code>        routes.MapContentRoute(name: "customRoute",
                          url: "{region}/{department}",
                          defaults: new { 
      action = "index", 
      controller = "dispatch", 
      region = UrlParameter.Optional, 
      department = UrlParameter.Optional
  }
                          //,contentRootResolver: (s) =&gt; s.StartPage
                          );
  </code></pre>
  
  <p><strong>DispatchController.cs</strong></p>
  
  <pre><code>public ActionResult Index(DispatchPage currentPage, string region, string department)
  </code></pre>