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