public BrowserRestrictionController(IBrowserRestrictionService browserRestrictionService, IFeatureService featureService) { _browserRestrictionService = browserRestrictionService ?? throw new ArgumentNullException(nameof(browserRestrictionService)); _featureService = featureService ?? throw new ArgumentNullException(nameof(featureService)); }
public FeatureController(IFeatureService featureService, ISupportedBrowserService supportedBrowserService, IBrowserRestrictionService browserRestrictionService) { _featureService = featureService ?? throw new ArgumentNullException(nameof(featureService)); _supportedBrowserService = supportedBrowserService ?? throw new ArgumentNullException(nameof(supportedBrowserService)); _browserRestrictionService = browserRestrictionService ?? throw new ArgumentNullException(nameof(browserRestrictionService)); }