public UserService( IUserRepository userRepository, IPasswordHasher passwordHasher, IJsonWebTokenGenerator jsonWebTokenGenerator, IMapper mapper ) : base(userRepository, mapper) { this.userRepository = userRepository; this.passwordHasher = passwordHasher; this.jsonWebTokenGenerator = jsonWebTokenGenerator; }
public LoginController(IUserService userService, IJsonWebTokenGenerator tokenGenerator) { this.userService = userService; this.tokenGenerator = tokenGenerator; }