Exemple #1
0
 public Handler(YappDbContext context, IPasswordHasher passwordHasher,
                ICurrentUserAccessor currentUserAccessor, IMapper mapper)
 {
     _context             = context;
     _passwordHasher      = passwordHasher;
     _currentUserAccessor = currentUserAccessor;
     _mapper = mapper;
 }
Exemple #2
0
 public Handler(YappDbContext context, IPasswordHasher passwordHasher, IJwtTokenGenerator jwtTokenGenerator,
                IMapper mapper)
 {
     _context           = context;
     _passwordHasher    = passwordHasher;
     _jwtTokenGenerator = jwtTokenGenerator;
     _mapper            = mapper;
 }
Exemple #3
0
 public QueryHandler(YappDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }