public JsonResult GetPatientChiefComplaints(long patientid) { try { SeeDoctorRepository objDoctorRepo = new SeeDoctorRepository(); PatientROV chiefComplaints = objDoctorRepo.GetPatientChiefComplaints(patientid); return(Json(new { Success = true, Object = chiefComplaints })); } catch (Exception ex) { return(Json(new { Message = ex.Message })); } }
public JsonResult GetPatientROV(long patientid) { try { SeeDoctorRepository objDoctorRepo = new SeeDoctorRepository(); PatientROV rov = objDoctorRepo.LoadROV(patientid); return(Json(new { Success = true, Object = rov })); } catch (Exception ex) { return(Json(new { Message = ex.Message })); } }