예제 #1
0
 public BankerController(ICustomerRepo customerRepo, IAccountRepo accountRepo, IBankerRepo bankerRepo)
 {
     this.customerRepo = customerRepo;
     this.accountRepo  = accountRepo;
     this.bankerRepo   = bankerRepo;
 }
예제 #2
0
 public HomeController(ICustomerRepo customerRepo, IBankerRepo bankerRepo)
 {
     this.customerRepo = customerRepo;
     this.bankerRepo   = bankerRepo;
 }
예제 #3
0
 public BankerController()
 {
     customerRepo = new EFCustomerRepo(db);
     accountRepo  = new EFAccountRepo(db);
     bankerRepo   = new EFBankerRepo(db);
 }
예제 #4
0
 public HomeController()
 {
     context      = new BankContext();
     customerRepo = new EFCustomerRepo(context);
     bankerRepo   = new EFBankerRepo(context);
 }