Пример #1
0
 private void OnRemoveTransactionExecute()
 {
     SelectedTransaction.PropertyChanged -= TransactionWrapper_PropertyChanged;
     _statementRepository.RemoveTransaction(SelectedTransaction.Model);
     Transactions.Remove(SelectedTransaction);
     SelectedTransaction = null;
     HasChanges          = _statementRepository.HasChanges();
     ((DelegateCommand)SaveCommand).RaiseCanExecuteChanged();
 }