Exemplo n.º 1
0
        public JsonResult ClearIndexRecord(string id)
        {
            try
            {
                LuceneHelper.ClearLuceneIndexRecord(id);

                AR.SetSuccess(String.Format(Messages.AlertDeleteSuccess, "索引"));
                return(Json(AR, JsonRequestBehavior.DenyGet));
            }
            catch (Exception er)
            {
                AR.Setfailure(er.Message);
                return(Json(AR, JsonRequestBehavior.DenyGet));
            }
        }