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

            _userDomainEntity.MapFrom(request, _mapper);

            await _userDomainEntity.UpdateAsync(cancellationToken);

            return(Unit.Value);
        }
        public async Task <CreateUserResponse> Handle(CreateUserCommand request, CancellationToken cancellationToken)
        {
            await _userDomainEntity.NewAsync(cancellationToken);

            _userDomainEntity.MapFrom(request, _mapper);

            await _userDomainEntity.CreateAsync(cancellationToken);

            return(new CreateUserResponse
            {
                Id = _userDomainEntity.EntityId
            });
        }