title: passing array from javascript to controller MVC 4
body: <p>I am using razor and I'm having a hard time passing an array to a controller. the array contains objects that I made and I am trying to do this:</p>
  
  <pre><code>$.ajax({
       type: "POST",
       url: "HomePage/HandleOperations",
       data: JSON.stringify(operationCollection),
       success: function (data) { alert("SUCESS");},
       dataType: "json",
       contentType: "application/json"
  });
  </code></pre>
  
  <p>and my controller is:</p>
  
  <pre><code> public void HandleOperations(List&lt;string&gt; operationCollection)
   {
  
   }
  </code></pre>
  
  <p>I am not required to use ajax but I am not sure how else it could be done. In the controller it shows that the "operationCollection" contains elements but they are all null.</p>