Beispiel #1
0
        public AuthController(portaldbContext context, UserManager <IdentityUser> userManager, SignInManager <IdentityUser>
                              signInManager, IConfiguration configuration, RoleManager <IdentityRole> roleManager)

        {
            _context       = context;
            _userManager   = userManager;
            _signInManager = signInManager;
            _configuration = configuration;
            _roleManager   = roleManager;
        }
Beispiel #2
0
 public EmployeeRepository(portaldbContext portaldbContext)
 {
     _portaldbContext = portaldbContext;
 }