public async Task <IActionResult> GetTransferListJson(string patientId) { var data = (await _patientApp.GetTransferList(patientId)).Select(t => new { t.F_Id, t.F_ExitReason, t.F_ExitType, t.F_LocationOut, t.F_Memo, t.F_Pid, t.F_Status, t.F_TransferDate, t.F_TransferReason }).OrderBy(t => t.F_TransferDate); return(Content(data.ToJson())); }