title: Return Multiple Objects Using ASP.NET MVC'S JsonResult Class
body: <p>Is it possible to Multiple Objects Using ASP.NET MVC'S JsonResult Class.... Here is a controller method which returns json object of my records but i also want to pass the count value....</p>
  
  <pre><code>var materials = consRepository.FindAllMaterials().AsQueryable();
  var count = materials.Count();
  var results = new PagedList&lt;MaterialsObj&gt;(materials, currentPage-1, pageSize);
  return Json(results);
  </code></pre>
  
  <p>How to return count along with the <code>results</code> from asp.net mvc controller....</p>