示例#1
0
 public ClaimsFactory(
     UserManager <UserAccount> userManager,
     IOptions <IdentityOptions> optionsAccessor,
     AccountContext context) : base(userManager, optionsAccessor)
 {
     _context     = context;
     _userManager = userManager;
 }
示例#2
0
 public AccountsSeeder(AccountContext userContext, UserManager <UserAccount> userManager, RoleManager <IdentityRole> roleManager)
 {
     _accountContext = userContext;
     _userManager    = userManager;
     _roleManager    = roleManager;
 }