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