public async Task<bool> RequestPasswordReset(PasswordResetRequest resetRequest)
        {
            var user = await _userManager.FindByEmailAsync(resetRequest.UserName);
            var resetToken = await _userManager.GeneratePasswordResetTokenAsync(user.Id);
            var resetRequestMessage = BuildPasswordResetRequestEmail(resetRequest.UserName, resetToken);

            var emailSender = new EmailSender();
            var result = emailSender.SendEmail(resetRequestMessage);

            return result;
        }
        public async Task<IHttpActionResult> RequestPasswordReset(PasswordResetRequest resetRequest)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }

            var result = await _authRepository.RequestPasswordReset(resetRequest);
            if (result)
            {
                return Ok();
            }
            return BadRequest();
        }
 public Task<bool> RequestPasswordReset(PasswordResetRequest resetRequest)
 {
     return Task.FromResult(true);
 }