예제 #1
0
 public LUsuarios(UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, RoleManager <IdentityRole> roleManager)
 {
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
     _usersRole     = new UsersRoles();
 }
예제 #2
0
 public LUsuarios(RoleManager <IdentityRole> roleManager)
 {
     _roleManager = roleManager;
     _usersRole   = new UsersRoles();
 }