private async Task <string> SendAndGetVerificationEmailTokenAsync(User user) { var code = RandomNumber.GetRandomNumberLength(_options.Value.VerificationEmailTokenLength).ToString(); await _emailService.SendEmailAsync(user.Email, "کد تایید", string.Format(_smsTemplates.SendForgotPassword, code)); return(code); }