/// <summary> /// Get the basic patient information for appointment creation /// </summary> /// <param name="patientId"></param> /// <returns></returns> public AppointmentModel GetAppointmentCreationInformation(int patientId) { AppointmentModel model = new AppointmentModel { Patient = _patientManager.GetPatientById(patientId) }; return(model); }
public async Task <IActionResult> PatientDetails(int patientId) { var result = await _patientService.GetPatientById(patientId); return(View(result)); }