Exemplo n.º 1
0
 public Usuarios(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     RoleManager <IdentityRole> roleManager)
 {
     _userManager   = userManager;
     _roleManager   = roleManager;
     _signInManager = signInManager;
     _usersRole     = new UsersRole();
 }
Exemplo n.º 2
0
 public Usuarios(RoleManager <IdentityRole> roleManager)
 {
     _roleManager = roleManager;
     _usersRole   = new UsersRole();
 }