public ActionResult Records(string code) { try { Code = code; ViewBag.Code = Code; LoadMemberInfo(); var items = _chargeSrv.GetRecordByUserId(_user.ID); return(Json(new { success = true, data = items }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { success = false, msg = ex.Message }, JsonRequestBehavior.AllowGet)); } }