public async Task <IActionResult> ResetPassword([FromBody] ResetPasswordRequest request)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            var user = await _userManager.FindByEmailAsync(request.EmailAddress);

            if (user == null)
            {
                return(Ok());
            }

            var result = await _userManager.ResetPasswordAsync(user, request.Code, request.Password);

            if (!result.Succeeded)
            {
                return(BadRequest());
            }

            return(Ok());
        }