public ActionResult ViewPatient(string patientId, string practitionerId) { PractitionerBaseViewModel result = new PractitionerBaseViewModel(); PatientBaseViewModel patientModel = new PatientBaseViewModel(); patientModel.AccId = Guid.Parse(patientId); PractitionerProcess process = new PractitionerProcess(); result.PatientBaseViewModel = process.ViewPatient(patientModel); result.AccId = Guid.Parse(practitionerId); return(View(result)); }