示例#1
0
 public AccountController(
     IBranchService branchService,
     IUserProfileService userProfileService,
     IUserLoginAuditService userLoginAuditService,
     IUserHelper userHelper)
 {
     UserManager            = new ApplicationUserManager(new UserStore <ApplicationUser>(new ApplicationDbContext()));
     _branchService         = branchService;
     _userProfileService    = userProfileService;
     _userLoginAuditService = userLoginAuditService;
     _userHelper            = userHelper;
 }
 public HomeController(IUserHelper userHelper, IDayOpenCloseService dayOpenCloseService, IUserLoginAuditService loginAuditService)
 {
     _userHelper          = userHelper;
     _dayOpenCloseService = dayOpenCloseService;
     _loginAuditService   = loginAuditService;
 }