public async Task <bool> Handle(DeletePingCommand request, CancellationToken cancellationToken)
        {
            Ping ping = await _repository.GetByIdAsync(request.Id, cancellationToken).ConfigureAwait(false);

            if (ping == null)
            {
                throw new NotFoundException(string.Format(MessagesResource.PingNotFound, request.Id));
            }

            await _repository.DeleteAsync(ping, cancellationToken).ConfigureAwait(false);

            return(true);
        }