public JsonResult userall() { using (var db = new AppEntities()) { return(Json(db.UserResultList().ToList(), JsonRequestBehavior.AllowGet)); } }