public void Run(int villageBankId)
 {
     _villageBankId = villageBankId;
     _view.Attach(this);
     _loans = _loanRepository.GetVillageBankLoans(villageBankId);
     _view.SetLoans(_loans);
     _view.Run();
 }
Пример #2
0
 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();
 }