Beispiel #1
0
 public Handler(CoursesOnLineContext context, UserManager <User> userManager, IJwtGenerator jwtGenerator, IPasswordHasher <User> passwordHasher)
 {
     _context        = context;
     _userManager    = userManager;
     _jwtGenerator   = jwtGenerator;
     _passwordHasher = passwordHasher;
 }
Beispiel #2
0
 public Handler(CoursesOnLineContext context)
 {
     _context = context;
 }
Beispiel #3
0
 public Handler(CoursesOnLineContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Beispiel #4
0
 public Handler(CoursesOnLineContext context, UserManager <User> userManager, IJwtGenerator jwtGenerator)
 {
     _context      = context;
     _userManager  = userManager;
     _jwtGenerator = jwtGenerator;
 }