Beispiel #1
0
        private void BtnClick_Delete(object sender, RoutedEventArgs e)
        {
            try
            {
                _employeesService.DeleteEmployee(uiMitarbeiterGrid.SelectedItem as Employee);

                CollectionViewSource.GetDefaultView(uiMitarbeiterGrid.ItemsSource).Refresh();
            }
            catch (Exception)
            { }
        }