public JsonResult MutilDelete(string lstId)
        {
            var report = _MenuFunctionService.DeleteByIds(lstId);

            if (report.isSuccess)
            {
                CacheLayer.ClearAll();
            }

            return(Json(report, JsonRequestBehavior.AllowGet));
        }
Exemple #2
0
        public JsonResult MutilDelete(string lstId)
        {
            bool isSucccess = _MenuFunctionService.DeleteByIds(lstId);

            if (isSucccess)
            {
                CacheLayer.ClearAll();

                MessageReport report = new MessageReport(true, FunctionHelper.GetLocalizeDictionary("Home", "notification")["DeleteSuccess"]);
                WriteLog.Write(report, GetCurrentUser.GetUser(), lstId, lstId, "MenuFunction");
            }
            return(Json(isSucccess, JsonRequestBehavior.AllowGet));
        }