private void viewEntitiesByStaffMember() { editMode = ByStaff; toggleSelectionControls(false); try { var staffComboList = StaffFunctions.GetStaffList(activeOnly, nameContains, "", 0); var staffNames = staffComboList.Select(sg => sg.StaffName); StaffCombo.ItemsSource = staffNames; selectedStaffName = StaffFunctions.GetSelectedName(); StaffCombo.SelectedValue = selectedStaffName; refreshEntitySummaries(true); } catch (Exception generalException) { MessageFunctions.Error("Error populating staff list", generalException); return; } }