public async Task <ActionResult> PwdRecovery(PwdRecoveryViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return(PartialView("Partial/PwdRecovery", model));
            }

            var user = await UserManager.FindByNameAsync(model.Email);

            if (user == null)
            {
                return(PartialView("Partial/PwdRecoverySuccess"));
            }

            //await UserManager.SendEmailAsync(user, "Recupero Username", "l'username del tuo account è scoppolatura di minghia");

            return(PartialView("Partial/PwdRecoverySuccess"));
        }
        public ActionResult PwdRecovery()
        {
            var model = new PwdRecoveryViewModel();

            return(PartialView("Partial/PwdRecovery", model));
        }