public SettingsProvider(IUserRepository userRepository, IHashBuilder hashBuilder) { _userRepository = userRepository; _hashBuilder = hashBuilder; _user = new Lazy<User>(() => _userRepository.GetAdmin()); }
public SettingsProvider(IUserRepository userRepository, IHashBuilder hashBuilder) { _userRepository = userRepository; _hashBuilder = hashBuilder; _user = new Lazy <User>(() => _userRepository.GetAdmin()); }