public DevicesController(DeviceRegistryService deviceRegistryService) { _deviceRegistryService = deviceRegistryService ?? throw new ArgumentNullException(nameof(deviceRegistryService)); }