public UpdateUserCommandV2Handler(IOptions <CacheUserSettings> userSettings, ICacheService cacheService, IUserRepository userRepository) { _userSettings = userSettings.Value; _cacheService = cacheService; _userRepository = userRepository; }
public CreateUserCommandHandler(IMapper mapper, ICacheService cacheService, IUserRepository userRepository, IOptions <CacheUserSettings> userSettings) { _mapper = mapper; _cacheService = cacheService; _userRepository = userRepository; _userSettings = userSettings.Value; }
public UpdateUserCommandHandler(IMapper mapper, ISender sender, ICacheService cacheService, IOptions <CacheUserSettings> userSettings, IUserRepository userRepository, IRefreshTokenRepository tokenRepository) { _mapper = mapper; _sender = sender; _cacheService = cacheService; _userRepository = userRepository; _tokenRepository = tokenRepository; _userSettings = userSettings.Value; }