Example #1
0
 public ReportController(IOptions <RapidApiSetting> optionsRapidApiSetting)
 {
     _RapidApiSetting = optionsRapidApiSetting.Value;
 }
Example #2
0
 public HomeController(ILogger <HomeController> logger, IOptions <RapidApiSetting> optionsRapidApiSetting)
 {
     _logger          = logger;
     _RapidApiSetting = optionsRapidApiSetting.Value;
 }