public ActionResult Index()
public ActionResult GetList()
List<EmployeeDetail> empList = new List<EmployeeDetail>();
using (DBModel db = new DBModel())
empList = db.EmployeeDetails.ToList<EmployeeDetail>();
return Json(new { data = empList }, JsonRequestBehavior.AllowGet);