public void Post(PostDeviceOptions request) { _deviceManager.UpdateDeviceInfo(request.Id, new DeviceOptions { CustomName = request.CustomName, CameraUploadPath = request.CameraUploadPath }); }
public void Post(PostDeviceOptions request) { var task = _deviceManager.UpdateDeviceInfo(request.Id, new DeviceOptions { CustomName = request.CustomName, CameraUploadPath = request.CameraUploadPath }); Task.WaitAll(task); }
public void Post(PostDeviceOptions request) { _deviceManager.UpdateDeviceOptions(request.Id, request); }