public AuthService(IMapper mapper, UserManager <UserDbEntity> userManager, SignInManager <UserDbEntity> signInManager, IOptions <MyJwtBearerOptions> options, AmsDbContext dbContext) { _mapper = mapper; _userManager = userManager; _signInManager = signInManager; _jwtOptions = options.Value; _dbContext = dbContext; }
public AuthService(UserManager <UserDbEntity> userManager, SignInManager <UserDbEntity> signInManager, IOptions <MyJwtBearerOptions> options, ApplicationDbContext dbContext) { _userManager = userManager; _signInManager = signInManager; _jwtOptions = options.Value; _dbContext = dbContext; _notFoundException = new EntityNotFoundException("User"); }