Example #1
0
 public AccountController(ApplicationUserManager userManager, ApplicationSignInManager signInManager )
 {
     UserManager = userManager;
     SignInManager = signInManager;
     _bankBranchRepository = new BankBranchRepository();
 }
Example #2
0
 public AccountController()
 {
     _connectionString = ConfigurationManager.ConnectionStrings["Bank"].ConnectionString;
     _bankBranchRepository = new BankBranchRepository();
     _customerRepository = new CustomerRepository();
 }