title: Attribute Routing for querystring
body: <p>I have below route URL:-</p>
  
  <pre class="lang-none prettyprint-override"><code>www.domanname.com/subroute/GetInfo?param1=somestring&amp;param2=somestring
  </code></pre>
  
  <p>I have function in webapi as:-</p>
  
  <pre><code>public class HomeController : ApiController
  {
      public object GetInfo(string param1,string param2)
      {}
  }
  </code></pre>
  
  <p>To apply route:-</p>
  
  <pre><code>[RoutePrefix("subroute")]
  public class HomeController : ApiController
  {
      [Route("GetInfo?param1={param1:string}&amp;param2={param2:string}")]
      public object GetInfo(string param1,string param2)
      {}
  }
  </code></pre>
  
  <p>But after applying above URL:-</p>
  
  <pre class="lang-none prettyprint-override"><code>www.domanname.com/subroute/GetInfo?param1=somestring&amp;param2=somestring
  </code></pre>
  
  <p>It is not able to find that URL</p>
  
  <p>How can I design this particular route?</p>