public IdentityRoleAppService(
     IdentityRoleManager roleManager,
     IIdentityRoleRepository roleRepository)
 {
     RoleManager    = roleManager;
     RoleRepository = roleRepository;
 }
Exemplo 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;
 }