public IdentityRoleAppService(
     IdentityRoleManager roleManager,
     IIdentityRoleRepository roleRepository)
 {
     RoleManager    = roleManager;
     RoleRepository = roleRepository;
 }
Esempio n. 2
0
 public IdentityDataSeeder(
     IGuidGenerator guidGenerator,
     IIdentityRoleRepository roleRepository,
     IIdentityUserRepository userRepository,
     ILookupNormalizer lookupNormalizer,
     IdentityUserManager userManager,
     IdentityRoleManager roleManager)
 {
     GuidGenerator    = guidGenerator;
     RoleRepository   = roleRepository;
     UserRepository   = userRepository;
     LookupNormalizer = lookupNormalizer;
     UserManager      = userManager;
     RoleManager      = roleManager;
 }