private void Update(object param) { _patientDataService.UpdatePatient(selectedPatient.ToModel()); _dialogService.ClosePatientsDetailDialog(); }