private void refreshStaffSummaries(bool fromDatabase)
        {
            if (fromDatabase)
            {
                StaffFunctions.StaffNotForEntity = StaffFunctions.StaffNotInEntity(activeOnly, selectedEntityID);
                StaffFunctions.StaffForEntity    = StaffFunctions.StaffInEntity(activeOnly, selectedEntityID);
            }

            StaffFrom.ItemsSource = StaffFunctions.StaffNotForEntity;
            StaffFrom.Items.SortDescriptions.Clear();
            StaffFrom.Items.SortDescriptions.Add(new SortDescription("NameAndUser", ListSortDirection.Ascending));
            StaffFrom.Items.Refresh();
            StaffFrom.SelectedItem = null;

            StaffTo.ItemsSource = StaffFunctions.StaffForEntity;
            StaffTo.Items.SortDescriptions.Clear();
            StaffTo.Items.SortDescriptions.Add(new SortDescription("NameAndUser", ListSortDirection.Ascending));
            StaffTo.Items.Refresh();
            StaffTo.SelectedItem = null;

            disableButtons();
            if (selectedEntity != null)
            {
                PageHeader.Content = "Staff Members in Entity '" + selectedEntity.EntityName + "'";
            }
        }