public void RefreshDisplay()
 {
     _lookup               = ForwardedBalance.CollectAll();
     _viewModel            = new ForwardedBalanceViewModel();
     _viewModel.Collection = ForwardedBalance.CollectAll();
     DataContext           = _viewModel;
 }
        public void Add()
        {
            var addForwardedBalanceView = new AddForwardedBalanceView();

            if (addForwardedBalanceView.ShowDialog() == true)
            {
                _viewModel.Collection = _lookup = ForwardedBalance.CollectAll();
            }
        }
 public void Delete()
 {
     if (_viewModel.SelectedItem == null)
     {
         return;
     }
     if (MessageWindow.ConfirmDeleteRecord() == MessageBoxResult.Yes)
     {
         _viewModel.SelectedItem.Destroy();
         _viewModel.Collection = _lookup = ForwardedBalance.CollectAll();
     }
 }