public async Task <Unit> Handle(UpdateCustomerCommand request, CancellationToken cancellationToken)
        {
            await _customerDomainEntity.GetAsync(request.Id, cancellationToken);

            _customerDomainEntity.MapFrom(request, _mapper);

            await _customerDomainEntity.UpdateAsync(cancellationToken);

            return(Unit.Value);
        }
        public async Task <CreateCustomerResponse> Handle(CreateCustomerCommand request, CancellationToken cancellationToken)
        {
            await _customerDomainEntity.NewAsync(cancellationToken);

            _customerDomainEntity.MapFrom(request, _mapper);

            await _customerDomainEntity.CreateAsync(cancellationToken);

            return(new CreateCustomerResponse
            {
                Id = _customerDomainEntity.EntityId
            });
        }