public ActionResult GetGridJson(QueryPatientInfoParam pagination) { var patientInfo = _hisSqlRepository.QueryPatientInfo(pagination); pagination.records = patientInfo.Keys.FirstOrDefault(); var data = new { rows = patientInfo.Values.FirstOrDefault(), total = pagination.total, page = pagination.Page, records = pagination.records }; return(Content(data.ToJson())); }