public void Run(int villageBankId) { _villageBankId = villageBankId; _view.Attach(this); _loans = _loanRepository.GetVillageBankLoans(villageBankId); _view.SetLoans(_loans); _view.Run(); }
public void Run(int villageBankId) { _villageBankId = villageBankId; _view.Attach(this); ModifyTotal(); _view.PaymentMethods = ServicesProvider.GetInstance().GetPaymentMethodServices().GetAllPaymentMethods(); _loans = _loanRepository.GetVillageBankLoans(villageBankId); _view.SetLoans(_loans); _view.Run(); }