public UserService(IUserRepository userRepository, IOptionsMonitor <TimeTrackConfig> optionsMonitor) { _userRepository = userRepository; _config = optionsMonitor.CurrentValue; }
public ConnectionManager(TimeTrackConfig config) { _config = config; }