public async Task Add(EmployerVendorId employerVendorId)
        {
            try
            {
                _logger.Log(LogLevel.Information, $"Calling IAddEmployerVendorIdService.GetAndAddEmployerVendorId with parameters: [hashedLegalEntityId={employerVendorId?.HashedLegalEntityId}]");

                await _addEmployerVendorIdService.Add(employerVendorId);

                _logger.Log(LogLevel.Information, $"Called IAddEmployerVendorIdService.GetAndAddEmployerVendorId with parameters: [hashedLegalEntityId={employerVendorId?.HashedLegalEntityId}]");
            }
            catch (Exception ex)
            {
                _logger.LogError(ex, $"Error calling IAddEmployerVendorIdService.GetAndAddEmployerVendorId with parameters: [hashedLegalEntityId={employerVendorId?.HashedLegalEntityId}]");

                throw;
            }
        }
 public Task RunEvent([NServiceBusTrigger(Endpoint = QueueNames.AddEmployerVendorId)] AddEmployerVendorIdCommand command)
 {
     return(_addEmployerVendorIdService.Add(new EmployerVendorId {
         HashedLegalEntityId = command.HashedLegalEntityId
     }));
 }