title: Model is Null while passing by Ajax Call MVC?
body: <p>I am new bird in MVC. I want to pass the Model into the Ajax call, i write the following code to do so. But it always passing NULL to all properties. </p>
  
  <pre><code>   $("#btnsubmit").click(function () {
  
          alert('hello');
          var productModel = {
              Name: 'ram@mailinator.com',
              Address: "Chai"
  
          };
          $.ajax({
              type: "POST",
              url: '@Url.Action("ContactDistributor", "AjaxCallTest")',
              contentType: "application/json; charset=utf-8",
              data: JSON.stringify({ model: productModel }),
  
              dataType: "json",
              success: function () { alert('Success'); },
              error: function (xhr) {
                  alert(xhr.error);
              }
          });
          return false;
  
      });
  </code></pre>
  
  <p>MODEL :</p>
  
  <pre><code>    public class AjaxCalltestModal
  {
      public int Id { get; set; }
      public String Name { get; set; }
      public String Address { get; set; }
  
  }
  </code></pre>
  
  <p>Controller :</p>
  
  <pre><code>        [HttpPost]
      public ActionResult ContactDistributor(WebApplication1.Models.AjaxCalltestModal a)
      {
          return Json("test");
      }
  </code></pre>
  
  <p>Please help me. </p>