예제 #1
0
        public IActionResult ChangePass([Bind] User user)
        {
            bool result = dao.ChangePass(user);

            if (result == false)
            {
                return(Json("failed"));
            }
            return(Json("success"));
        }