public ActionResult BatchRemovePointCommodity()
        {
            IdListArgs args = RequestArgs <IdListArgs>();

            if (args == null)
            {
                return(RespondResult(false, "参数无效。"));
            }

            _pointCommodityManager.BatchRemovePointCommodity(args);

            #region 操作日志

            _operatedLogManager.Create(new OperatedLogEntity()
            {
                Domain      = DomainContext.Domain.Id,
                AppId       = DomainContext.AppId,
                User        = UserContext.User.Id,
                IP          = Request.UserHostAddress,
                Module      = EnumModule.PointCommodity,
                Description = "删除积分商品(批量删除)"
            });

            #endregion

            return(RespondResult());
        }
        public ActionResult BatchRemoveInformationItem()
        {
            IdListArgs args = RequestArgs <IdListArgs>();

            if (args == null)
            {
                return(RespondResult(false, "参数无效。"));
            }

            _informationManager.BatchRemoveInformationItem(args.IdList);

            #region 操作日志

            _operatedLogManager.Create(new OperatedLogEntity()
            {
                Domain      = DomainContext.Domain.Id,
                AppId       = DomainContext.AppId,
                User        = UserContext.User.Id,
                IP          = Request.UserHostAddress,
                Module      = EnumModule.Information,
                Description = "删除分类信息条目(批量删除)"
            });

            #endregion

            return(RespondResult());
        }
        public void BatchRemovePointCommodity(IdListArgs args)
        {
            if (args == null || args.IdList == null)
            {
                Debug.Assert(false, "args 为空");
                return;
            }

            foreach (string id in args.IdList)
            {
                RemovePointCommodity(Guid.Parse(id));
            }
        }