public void Save(Patient patient) { new PatientRepository().SavePatient(patient); }
private void ProcessSelect() { if (dgSrchResults.SelectedItem != null) { SelectedPatient = dgSrchResults.SelectedItem as Patient; SearchDialogResult = SearchDialogResult.Select; Close(); } }