title: ASP.Net MVC 3 JsonValueProviderFactory issue with controller method which accepts array arg
body: <p>I am allowing JsonValueProviderFactory to populate the parameters of my controller action. One of the parameters is an array of <em>Cat</em>.
  This works, but sometimes when there is only a single <em>Cat</em> it doesn't get passed in as an array, the argument is just <em>Cat</em>. I am using ExtJs, which is handling everything clientside.</p>
  
  <p>Is there a way to handle this server-side? Or will I need to hack the request from ExtJs to force it to always send an array?</p>
  
  <pre><code>    [HttpPost]
      public ActionResult Edit(int id, IEnumerable&lt;Cat&gt; Data){...}
  </code></pre>