public TransferFundsToAccountViewModel(TransferFundsAccountAction action, IEnumerable <ITransactionAccount> accounts, ITransferActionAccountSetter accountSetter, ITransactionRepository repository) { this.action = action; this.accountSetter = accountSetter; this.repository = repository; this.Accounts = new ObservableCollection <AccountLookupItem>(accounts.Select(x => new AccountLookupItem(x))); this.Account = this.Accounts.FirstOrDefault(); this.Amount = 10; }
public DepositActionAccountSetter(TransferFundsAccountAction action) { this.action = action; }
public WithdrawActionAccountSetter(TransferFundsAccountAction action) { this.action = action; }