web api call get method with different url parameters
<p>I have a set of requirements to implement the get interface:</p>

<pre><code> - api/Item
 - api/Item?name=test
 - api/Item?updated=2016-10-12
 - etc
</code></pre>

<p>I've defined the methods as:</p>

<pre><code> - get() //returns all items
 - getName([FromUri] string name) 
 - getUpdated([FromUri] string updated)
</code></pre>

<p>My issue is - if parameter doesn't exist (let's say the call was <code>api/Item?test=test</code>), the <code>get(</code>) method is called as "test" parameter mapping is not found. </p>

<p>I need to return the error response in this case. Is there any other proper way to read the parameters from URL to meet the interface requirement?</p>