Ejemplo n.º 1
0
 public AuthorizationService(NesopsUserManager userManager,
                             RoleManager <NesopsRoles> roleManager,
                             SignInManager <NesopsUsers> signInManager,
                             NesopsDbContext dbContext)
 {
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
     _dbContext     = dbContext;
 }
Ejemplo n.º 2
0
 public AuthorizeService(NesopsUserManager userManager,
                         RoleManager <NesopsRole> roleManager,
                         SignInManager <NesopsUser> signInManager,
                         NesopsAuthorizeDbContext dbContext)
 {
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
     _dbContext     = dbContext;
 }