protected override async Task <GetTemplateDto> ExecuteAsync(AddTemplateCommand request, CancellationToken ct)
        {
            var createdTemplate = await _service.AddAsync(_mapper.Map <AddTemplateDto>(request), ct);

            await _serviceBusClient.PublishTemplateCreatedAsync(
                new TemplateCreatedMessage(createdTemplate.Id, createdTemplate.Name));

            return(createdTemplate);
        }