public async Task<Response> Handle(Query request, CancellationToken cancellationToken)
{
//var barCode = await _barCodeRepository.GetSingleAsync(e => e.BarCodeValue == request.BarCode);
//if (barCode != null && barCode.Items.Any())
// return new Response(barCode.Items.FirstOrDefault().No, string.Empty);
var service = _connectorFactory.Create();
var result = await service.GetItemNoFromBarCodeAsync(request.BarCode);
//if (string.IsNullOrEmpty(result.ErrorMessage))
// await HandleEvents(request, result);
return _mapper.Map<Response>(result);
}