title: Complex Parameter Binding (array of nested class) in Web API
body: <p><strong>Having:</strong></p>
  
  <pre><code>public class Range
  {
      public double Min{get;set;}
      public double Max{get;set;}
  }
  
  public class CustomParameters
  {
      public List&lt;Range&gt; SelectedRanges{get;set;}
      public List&lt;int&gt; SelectedTypes{get;set;}
  }   
  </code></pre>
  
  <p>I made a custom method in the <code>FooController</code> like this:</p>
  
  <pre><code>[Route("Operation")]    
  [HttpGet]
  public IQueryable&lt;Foo&gt; Operation([FromUri] CustomParameters parameters)
  {
       //some code to return what I'm looking for.
  }
  </code></pre>
  
  <p><strong>Question</strong>
  What the query string looks like when we have combination of array and custom types with nested objects?
  Here is the query which I'm using but not working.</p>
  
  <pre><code>api/Foo/Operation?
      SelectedRanges.Min=0&amp;
      SelectedRanges.Max=10&amp;
      SelectedRanges.Min=100&amp;
      SelectedRanges.Max=200&amp;
      SelectedTypes=1&amp;
      SelectedTypes=2 
  </code></pre>