title: Single controller with multiple GET methods in ASP.NET Web API
body: <p>In Web API I had a class of similar structure:</p>
  
  <pre class="lang-cs prettyprint-override"><code>public class SomeController : ApiController
  {
      [WebGet(UriTemplate = "{itemSource}/Items")]
      public SomeValue GetItems(CustomParam parameter) { ... }
  
      [WebGet(UriTemplate = "{itemSource}/Items/{parent}")]
      public SomeValue GetChildItems(CustomParam parameter, SomeObject parent) { ... }
  }
  </code></pre>
  
  <p>Since we could map individual methods, it was very simple to get the right request at the right place. For similar class which had only a single <code>GET</code> method but also had an <code>Object</code> parameter, I successfully used <code>IActionValueBinder</code>. However, in the case described above I get the following error:</p>
  
  <pre><code>Multiple actions were found that match the request: 
  
  SomeValue GetItems(CustomParam parameter) on type SomeType
  
  SomeValue GetChildItems(CustomParam parameter, SomeObject parent) on type SomeType
  </code></pre>
  
  <p>I am trying to approach this problem by overriding the <code>ExecuteAsync</code> method of <code>ApiController</code> but with no luck so far. Any advice on this issue?</p>
  
  <p>Edit: I forgot to mention that now I am trying to move this code on ASP.NET Web API which has a different approach to routing. The question is, how do I make the code work on ASP.NET Web API?</p>