public ActionResult SaveData(LoaitaiKhoanModel sp) { int result = 0; bool kq = false; if (ModelState.IsValid) { var dao = new LoaiTaiKhoanDAO(); string user = ((UserLogin)Session[CommonStants.USER_SESSION]).userName; result = dao.SaveData(sp, user); if (result == 1) { kq = true; } else if (result == 2) { kq = true; } } return(Json(kq, JsonRequestBehavior.AllowGet)); }