示例#1
0
 public UserService(UserManager <IdentityUser> userManager,
                    RoleManager <IdentityRole> roleManager,
                    IUserRepository userRepository,
                    IUserResourceIdentityRepository userResouceIdentityRepository)
 {
     _userManager    = userManager;
     _roleManager    = roleManager;
     _userRepository = userRepository;
     _userResouceIdentityRepository = userResouceIdentityRepository;
 }
示例#2
0
 public UserResourceIdentityService(IUserResourceIdentityRepository userResouceIdentityRepository)
 {
     _userResouceIdentityRepository = userResouceIdentityRepository;
 }