title: Passing List of objects to ASP.Net Core MVC controller using jQuery AJAX
body: <p>I Know this is a repeated question but I can't find out what I'm doing wrong. Following is my code</p>
  
  <p>My Model</p>
  
  <pre><code>public class DivisionDetails
      {
          public int DivisionId { get; set; }
          public string DivisionName { get; set; }
          public DateTime? UpdatedOn { get; set; }
          public string FormattedUpdatedOn
          {
              get
              {
                  return GetFormattedDate();
              }
          }
  
          private string GetFormattedDate()
          {
              return UpdatedOn.HasValue ? UpdatedOn.Value.ToString("MM-dd-yyyy") : "";
          }
      }
  </code></pre>
  
  <p>my jQuery</p>
  
  <pre><code>var divisions=[];
          var item = {};
  
                  item.DivisionName ="polo"
                  item.DivisionId = 1;
                  item.UpdatedOn = null;
  
                  divisions.push(item);
  
     var itemTwo = {};
  
                  item.DivisionName ="polo2"
                  item.DivisionId = 2;
                  item.UpdatedOn = null;
  
                  divisions.push(itemTwo);
  
   var items = JSON.stringify({ "divisions":divisions });
  
  success= function(data){
  alert(data);
  }
  
             $.ajax({
                  url: "url",
                  type: "POST",
                  cache: false,
                  data:items,
                  contentType: 'application/json; charset=utf-8',
                  dataType: "json",
                  success: success
              });
  </code></pre>
  
  <p>my controller</p>
  
  <pre><code>public IActionResult Save(List&lt;DivisionDetails&gt; divisions)
          {
              var result = _divisionService.Save(divisions);
              return Json(result);
          }
  </code></pre>
  
  <p>When the call hit the controller I'm getting an empty list. Please point me to the right direction</p>