protected override async Task <GetAccountDto> ExecuteAsync(CreateAccountCommand request, CancellationToken ct) { CreateAccountDto createAccountDto = _mapper.Map <CreateAccountDto>(request); GetAccountDto accountDto = await _accountService.AddAsync(createAccountDto, ct); AccountCreatedMessage accountCreatedMessage = _mapper.Map <AccountCreatedMessage>(accountDto); await _serviceBusClient.PublishAccountCreatedAsync(accountCreatedMessage); return(accountDto); }