public YoutubeController(IYoutubeHelper youtubeHelper, IOptions <YoutubeSettings> youtubeSettings, IDbRepository dbRepository, IHostingEnvironment hostingEnv) { _youtubeHelper = youtubeHelper; _youtubeSettings = youtubeSettings.Value; _dbRepository = dbRepository; _hostingEnv = hostingEnv; }
public Youtube() { Driver = WebDriver.Driver(); Settings = new YoutubeSettings(); NavigateTo(Url); }
public YoutubeHelper(IHostingEnvironment hostingEnv, IOptions <YoutubeSettings> youtubeSettings, IDbRepository dbRepository) { _hostingEnv = hostingEnv; _youtubeSettings = youtubeSettings.Value; _dbRepository = dbRepository; }