public async Task <string> Handle(CreatePasswordCommand request, CancellationToken cancellationToken) { var passwordEntity = new PasswordEntity { Id = Guid.NewGuid().ToString(), CreatedDate = DateTime.UtcNow, Hash = _passwordHelper.ComputeHash(request.Password), UserId = request.UserId }; await _passwordRepository.CreatePasswordAsync(passwordEntity, cancellationToken); return(passwordEntity.Id); }