title: Using dash in the URL query in ASP.NET Core
body: <p>Can we use dashes (-) in the <code>Route</code> template in ASP.NET Core?</p>
  
  <pre><code>// GET: api/customers/5/orders?active-orders=true
  [Route("customers/{customer-id}/orders")]
  public IActionResult GetCustomerOrders(int customerId, bool activeOrders)
  {
      .
      .
      .
  }
  </code></pre>
  
  <p><em>(The above code doesn't work)</em></p>