title: ajax post multiple parameters does not pass properly to asp.net mvc action
body: <p>I am not able to pass 2 parameters to the action method as json. I have the following ASP.net MVC3 action. </p>
  
  <pre><code>    [HttpPost]
      public JsonResult Create( PatientContactEpisodes patientcontactepisode, IList&lt;PatientContactEpisodeProcedures&gt; patientcontactepisodeprocedures)
  </code></pre>
  
  <p>And my ajax post looks like this.</p>
  
  <pre><code>     $("#SaveButton")
          .button()
          .click(function () {
              var episode = getpatientcontactepisode();
              $.ajax({
              type: 'POST',
              traditional: true,
              url: "/User/PatientContactEpisodes/Create",
              contentType: 'application/json, charset=utf-8',
              data: {patientcontactepisode: JSON.stringify(episode), patientcontactepisodeprocedures: JSON.stringify(createArray)},
              //data: JSON.stringify(episode),
              dataType: "json",
              success: function (results) {                                                           
                  alert("success");
              }
          });
       }); 
  </code></pre>
  
  <p><strong>ISSUE</strong></p>
  
  <p>The issue is that the value does not seem to be passed when I send both parameters to the action. Both are null/empty. Whereas, when i send a single parameter</p>
  
  <pre><code>    //data: JSON.stringify(episode), or //data: JSON.stringify(createarray),
  </code></pre>
  
  <p>The above works fine.</p>