Example #1
0
        public ActionResult DeleteForWhere(string Where)
        {
            SystemLogModel.Delete(Where);
            LogDAL.AppendSQLLog(MTConfig.CurrentUserID, typeof(SystemLogModel));

            return(JsonSuccess(DeleteSuccess));
        }
Example #2
0
        public ActionResult Delete(string id)
        {
            SystemLogModel.Delete(" where ID in (" + id + ")");
            LogDAL.AppendSQLLog(MTConfig.CurrentUserID, typeof(SystemLogModel));

            return(JsonSuccess(DeleteSuccess));
        }