public static Patient MapToPatient(SearchForPatientVM vm) { var patient = new Patient() { First = vm.First, Last = vm.Last, DOB = vm.Dob }; return(patient); }
public static SearchForPatientVM MapToSearchForPatientVM(IList <IDictionary <string, string> > patients) { var result = new SearchForPatientVM() { SearchResults = patients }; return(result); }
public ActionResult SearchForPatient(SearchForPatientVM model) { return(View(athena.Search(model))); }