public BankerController(ICustomerRepo customerRepo, IAccountRepo accountRepo, IBankerRepo bankerRepo) { this.customerRepo = customerRepo; this.accountRepo = accountRepo; this.bankerRepo = bankerRepo; }
public HomeController(ICustomerRepo customerRepo, IBankerRepo bankerRepo) { this.customerRepo = customerRepo; this.bankerRepo = bankerRepo; }
public BankerController() { customerRepo = new EFCustomerRepo(db); accountRepo = new EFAccountRepo(db); bankerRepo = new EFBankerRepo(db); }
public HomeController() { context = new BankContext(); customerRepo = new EFCustomerRepo(context); bankerRepo = new EFBankerRepo(context); }