public AccountController(UserManager <AppUser> userMgr, SignInManager <AppUser> signinMgr, RoleManager <IdentityRole> roleMgr) { userManager = userMgr; signInManager = signinMgr; IdentitySeedData.CreateSuperAdminAccount(userMgr, roleMgr).Wait(); }
public AccountController(UserManager <AppUser> userMgr, SignInManager <AppUser> signinMgr, RoleManager <IdentityRole> roleMgr) { userManager = userMgr; signInManager = signinMgr; IdentitySeedData.CreateSuperAdminAccount(userMgr, roleMgr).Wait(); }