Beispiel #1
0
 private void UpdateSelectedBank(LedgerAccountVM oldSelectedBank)
 {
     if (oldSelectedBank == null)
     {
         return;
     }
     SelectedBank = Banks.SingleOrDefault(bank => bank.ID.Equals(oldSelectedBank.ID));
 }
Beispiel #2
0
 private void UpdateSelectedAccount(LedgerAccountVM oldSelectedAccount)
 {
     if (oldSelectedAccount == null) return;
     SelectedAccount = Accounts.FirstOrDefault(account => account.ID.Equals(oldSelectedAccount.ID));
 }
 private void UpdateSelectedBank(LedgerAccountVM oldSelectedBank)
 {
     if (oldSelectedBank == null) return;
     SelectedBank = Banks.SingleOrDefault(bank => bank.ID.Equals(oldSelectedBank.ID));
 }