title: How to return Json List of object from Controller
body: <p>In my jquery I call the <code>$.ajax()</code> function and I don't have any issues with that. My problem lies within the success part, where I want to be able to do something like the following:</p>
  
  <pre><code>$.ajax('/Home/GetData/' + id, // request url
  {
      contentType: "application/json; charset=utf-8",
      async: true,
      dataType: 'json',
      type: "POST",
      succes: function (response) { // success callback function
          alert("OK");
      },
      error: function(data) {
          alert("Dynamic content load failed.");
      }
  });
  </code></pre>
  
  <p>and my controller:</p>
  
  <pre><code>[HttpPost]
  public JsonResult GetData(int Id)
  {
      var results = (from subCategory in _db.SubCategories
       where subCategory.CategoryId == Id
       select subCategory).ToList();
  
      return Json(new { Response = results } , JsonRequestBehavior.AllowGet);
  }
  </code></pre>
  
  <p>I've got error message always. How Can I get List of objects from my controller and handle one in View.</p>