public HomeController(DevFunOptions apiOptions)
 {
     this.apiOptions = apiOptions;
 }
Example #2
0
 public HomeController(DevFunOptions apiOptions, ILogger <HomeController> logger)
 {
     this.apiOptions = apiOptions ?? throw new ArgumentNullException(nameof(apiOptions));
     this.logger     = logger ?? throw new ArgumentNullException(nameof(logger));
 }