Ejemplo n.º 1
0
        public ActionResult Index(User user)
        {
            var model           = ie.GetOne(user);
            var CurrentPassword = user.Password;

            if (CurrentPassword == model)
            {
                return(RedirectToAction("Index", "Home", user));
                // return RedirectToAction("","",)
            }
            return(View());
        }