public async Task <ActionResult> SendResetPasswordToken([FromBody] ResetPasswordViewModel passwordResetModel)
        {
            ApplicationUser user = await _userManager.FindByNameAsync(passwordResetModel.Username);

            if (user == null)
            {
                return(NotFound($"User {passwordResetModel.Username} not found"));
            }

            var token = await _userManager.GeneratePasswordResetTokenAsync(user);

            await _emailService.SendPasswordResetEmailAsync(user, TokenHelper.Encode(token));

            return(Ok());
        }