public SuppressionFilesController ( ISuppressionFilesRequestValidator validator, SettingsProvider settings, Logger logger ) { Logger = logger; Logger.Trace("Initializing WebAPI Service..."); _validator = validator; _settings = settings; _powerUser = new NetworkCredential(_settings.PowerUserName, _settings.PowerUserPassword, _settings.PowerUserDomain); }
public HomeController(SettingsProvider settings) { _settings = settings; }