public void SendPasswordResetLink(SendPasswordResetLinkInput input)
        {
            var user = _userRepository.FirstOrDefault(u => u.EmailAddress == input.EmailAddress);
            if (user == null)
            {
                throw new UserFriendlyException("Can not find this email address in the system.");
            }

            user.GeneratePasswordResetCode();
            SendPasswordResetLinkEmail(user);
        }
        public JsonResult SendPasswordResetLink(SendPasswordResetLinkInput input)
        {
            _userAppService.SendPasswordResetLink(input);

            return Json(new MvcAjaxResponse());
        }