public StrokeUnitsController( IOptions <StartupOptions> options, ILocationService locationService, IStrokeUnitService strokeUnitsService ) { _options = options?.Value ?? throw new ArgumentNullException(nameof(options)); _locationService = locationService ?? throw new ArgumentNullException(nameof(locationService)); _strokeUnitsService = strokeUnitsService ?? throw new ArgumentNullException(nameof(strokeUnitsService)); }