public async Task PublishAsync(HttpEndpointChecked @event)
        {
            if (@event == null)
            {
                throw new ArgumentNullException(nameof(@event));
            }

            var message = ToMessage(@event);

            var queue = await _queueFactoryAsync("events");

            await queue.AddMessageAsync(message);
        }
        private CloudQueueMessage ToMessage(HttpEndpointChecked @event)
        {
            var message = _converter.Convert(@event);

            return(message);
        }