public IActionResult ChangePass([Bind] User user) { bool result = dao.ChangePass(user); if (result == false) { return(Json("failed")); } return(Json("success")); }
public IActionResult ChangePass([Bind] User user) { bool result = dao.ChangePass(user); if (result == false) { return(Json("failed")); } return(Json("success")); }