Ejemplo n.º 1
0
        public ActionResult ForgotPassword(string username, string email, string phno, string pwd)
        {
            string result = blayer_ob.PasswordChange(username, email, phno, pwd);

            if (result == "successfully updated")
            {
                return(RedirectToAction("Login"));
            }
            else
            {
                ViewBag.Message = result;
            }

            return(View());
        }