Example #1
0
        public ActionResult EnableForm(string keyValue, int opeState)
        {
            string mess = "请重试:未知提示";
            bool   isOK = noticeBLL.EnableState(keyValue, opeState == 1 ? true : false, ref mess);

            if (isOK)
            {
                return(Success("操作成功。"));
            }
            else
            {
                return(Error(mess));
            }
        }