title: Accessing query parameters in .NET Controller
body: <p>I have this function in jQuery</p>
  
  <pre><code>var uri = "api/queries";
  
  function test(){
      var params = {
          origin: $('#depair').val(),
          destination: $('#destair').val(),
          departure_date: $('#depdate').val(),
          currency: $('#currency').val(),
      }
      $.getJSON(uri, params)
          .done(function (data) {
              console.log(data);
      });
  }
  </code></pre>
  
  <p>Which sends the request to this <code>Controller</code>:</p>
  
  <pre><code>public class QueriesController : ApiController
  {
      [HttpGet]
      public string GetInfo()
      {
          return "blah";
      }
  }
  </code></pre>
  
  <p>So, the request looks like this </p>
  
  <p><code>http://localhost:55934/api/queries?origin=&amp;destination=&amp;departure_date=&amp;currency=</code></p>
  
  <p>How do I access the parameters of the request from inside the controller <code>GetInfo</code> method?</p>