public Task <bool> Handle(PasswordValidateCommand request, CancellationToken cancellationToken) { var password = _mapper.Map <Password>(request.PasswordViewModel); if (!password.IsValid) { _notifier.AddNotifications(password.ValidationResult); return(Task.FromResult(false)); } return(Task.FromResult(true)); }