示例#1
0
        public JsonResult Delete(int[] ids)
        {
            var identity = new AspNetIdentiyAuthorizeRelay <SysUser>();

            identity.DeleteMenu(this.CurrentUserId, ids);

            return(Json(ResultType.Success, WebBackOperateTipUtils.DELETE_SUCCESS));
        }
示例#2
0
        public JsonResult Delete(int[] id)
        {
            var identity = new AspNetIdentiyAuthorizeRelay <SysUser>(CurrentDb);

            foreach (int menuId in id)
            {
                identity.DeleteMenu(menuId);
            }
            return(Json(ResultType.Success, ManagerOperateTipUtils.DELETE_SUCCESS));
        }