title: FormData append item in array
body: <pre><code> public List&lt;Region&gt; Regions { get; set; }
  </code></pre>
  
  <p>in model called News.An Region Model is</p>
  
  <pre><code>public class Region
      {
          public int Id { get; set; }
          public string Name { get; set; }
          public static Region Parse(DataRow row)
          {
              return new Region
              {
                  Id = Database.GetInteger(row["Id"]),
  
                  Name = Database.GetString(row["Region"]),
  
  
              };
          }
      }
  </code></pre>
  
  <p>in Javascript I am using AJAX post method with formdata. I want to set this region.</p>
  
  <pre><code>var regionList = [];
              if (selected === "region") {
                  if (region.length &lt;= 0) {
                      toastr.warning('Lütfen en az bir bölge seçin !!!');
                      return;
                  }
  
                  for (var i = 0; i &lt; region.length; i++) {
  
                      var item = {
                          Id: region[i]
                      }
                      regionList.push(item);
                  }
                  console.log(regionList);
                  formData.append("Regions", regionList);
              }
  </code></pre>
  
  <p>Code above in JS i wrote like this to set it</p>
  
  <pre><code> public ActionResult AddByRegion(News item)
          {
              int refPortal = SessionRepository.GetPortalId();
              if(refPortal!=1)
                  return View("List", NewsRepository.ListAll(SessionRepository.GetPortalId()));
              if (item == null
                  || string.IsNullOrEmpty(item.Title)
                  || string.IsNullOrEmpty(item.Content)
                  )
                  return Content(Serialization.JsonSerialize(new { Status = 400 }));
  
              return Content(Serialization.JsonSerialize(new { Status = 200, Result = NewsRepository.AddByRegion(item) }));
          }
  </code></pre>
  
  <p>and code above i will get in controller. But it returns always 0 record although at least i choosed two region.</p>
  
  <pre><code> $.ajax({
                  type: 'POST',
                  url: '@Url.Action("AddByRegion", "News")',
                  data: formData,
  
                  contentType: false,
                  processData: false,
                  success: function(data) {
                      var result = JSON.parse(data);
                      if (result.Result === "SUCCEED") {
                          toastr.success('@Resources.Resource.Success_MediaAdd');
                          window.location.reload();
                          return;
                      }
  
                      else {
                          toastr.error('@Resources.Resource.Error_Unexpected');
                          return;
                      }
                  },
                  error: function(error) {
  
                      toastr.error('@Resources.Resource.Error_Unexpected');
                      return;
                  },
                  beforeSend: function() {
                      waitingDialog.show('Wait...');
                  },
                  complete: function() {
                      waitingDialog.hide();
                  }
              });
  </code></pre>
  
  <p>My Ajax method is above. Where am I making mistake ?</p>
  
  <p>Thanks in advance.</p>