using System.Collections.Generic;
public class FirstController : Controller
public JsonResult Index()
Student emp = new Student()
Name = "Leo R. Bonifacio",
return Json(emp, JsonRequestBehavior.AllowGet);
public string ID { get;set; }
public string Name { get; set; }
public int Age { get;set; }