public void Delete()
 {
     if (_viewModel.SelectedItem == null)
     {
         return;
     }
     if (MessageWindow.ConfirmDeleteRecord() == MessageBoxResult.Yes)
     {
         _viewModel.SelectedItem.Destroy();
         _lookup.Remove(_lookup.FirstOrDefault(item => item.ID == _viewModel.SelectedItem.ID));
         _viewModel.Collection.Remove(_viewModel.SelectedItem);
     }
 }