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