public PaymentListViewModel(IPaymentRepository paymentRepository, IAccountRepository accountRepository, IDialogService dialogService, IPaymentManager paymentManager) { this.paymentRepository = paymentRepository; this.accountRepository = accountRepository; this.dialogService = dialogService; this.paymentManager = paymentManager; BalanceViewModel = new PaymentListBalanceViewModel(accountRepository, paymentRepository); }
public PaymentListViewModel(IPaymentRepository paymentRepository, IAccountRepository accountRepository, IBalanceViewModel balanceViewModel, IDialogService dialogService, IPaymentManager paymentManager) { this.paymentRepository = paymentRepository; this.accountRepository = accountRepository; this.balanceViewModel = balanceViewModel; this.dialogService = dialogService; this.paymentManager = paymentManager; BalanceViewModel = new PaymentListBalanceViewModel(accountRepository, paymentRepository); }
public void Init(int id) { AccountId = id; BalanceViewModel = new PaymentListBalanceViewModel(accountRepository, paymentRepository, AccountId); }
public void Init(int id) { AccountId = id; BalanceViewModel = new PaymentListBalanceViewModel(accountRepository, endOfMonthManager, AccountId); }