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