title: How to use Query String parameters in the ASP.NET MVC API
body: <pre><code>[RoutePrefix("web/api")]
  public class UsersController : BaseController
  {
      [Route("users")]
      [HttpGet]
      public Response&lt;List&lt;UserDTO&gt;&gt; Get(string q, string ex)
  </code></pre>
  
  <p>I am trying to make the get function respond to : 
  web/api/users?q=sd&amp;ex=1</p>
  
  <p>But it is not working? </p>