title: jQuery allways Post null to Action in MVC 4
body: <p>I have a problem and I don't know what is the issue. <br />
  I am constructing a Json object and I want to post it back with <code>$.ajax</code>. The problem is I always get null in my Action.<br/>
  here is Ajax Part :</p>
  
  <pre><code>            $("input[type=button]#ajax-editor-save").click(function() {
  
              var hotelPropertyAssignModel = new Object();
              hotelPropertyAssignModel.Hotel_Id = 1;
              hotelPropertyAssignModel.HotelProperties = new Array();
  
              $("input.ajax-editor[data-edited=true]").each(function() {
                  var hotelPropertyValue = new Object();
                  hotelPropertyValue.HotelProperty_Id = $(this).attr("data-hotelPropertyId");
                  hotelPropertyValue.Language = $(this).attr("data-lang");
                  hotelPropertyValue.Value = $(this).attr("value");
                  hotelPropertyAssignModel.HotelProperties.push(hotelPropertyValue);
              });
  
              $.ajax({
                  url: '@Url.Action( "SetProperties" )',
                  type: 'POST',
                  dataType: 'json',
                  data: JSON.stringify(hotelPropertyAssignModel)
              });
          });
  </code></pre>
  
  <p>and here is Action:<br /></p>
  
  <pre><code>[AcceptVerbs( HttpVerbs.Post )]
  [HttpPost]
  public void SetProperties ( string hotelPropertyAssignModel )
  {
  
  }
  </code></pre>
  
  <p>I changed the parameter to string to validate how json is coming. I get null when I replace it with correct model too!
  anybody can help?</p>