title: Pass a List<int> from javascript to controller
body: <p>I'm trying to pass a <code>List&lt;int&gt;</code> from my <code>View</code> to my <code>Controller</code>. I've tried multiple ways, with different parameters. No luck.</p>
  
  <p>I'm currently trying to pass <code>{[4,5,13]}</code> to a method with the parameter <code>List&lt;int&gt; ids</code>.</p>
  
  <p>What's the correct format to send a list or array of numbers?</p>