Example #1
0
 public HomeController(UserManager <AppUser> userMgr, IUserLoginStatus userLoginStatus, AppIdentityDbContext context, SignInManager <AppUser> signinMgr)
 {
     signInManager    = signinMgr;
     _context         = context;
     userManager      = userMgr;
     _userLoginStatus = userLoginStatus;
 }
Example #2
0
 public ScheduleService(AppIdentityDbContext context, UserManager <AppUser> userMgr, IOperation scheduleoperation)
 {
     _context           = context;
     _userManager       = userMgr;
     _scheduleoperation = scheduleoperation;
 }