public async Task <bool> SendValidationEmailAsync(User user, string baseUrl) { var token = _jsonWebTokenService.CreateEmailValidationToken(user); var emailRequest = CreateValidationEmailRequest(user, token); return(await SendEmailAsync(emailRequest)); }