public async Task <Unit> Handle(SendPasswordResetEmailCommandModel request, CancellationToken cancellationToken) { var user = await userQueryService.CreateChangePasswordTokenAsync(request.Email); await emailService.SendForgottenPasswordEmailAsync(user); logger.LogInformation("Successfully send password"); return(Unit.Value); }