Пример #1
0
        public ActionResult EditOfList(string ids)
        {
            if (string.IsNullOrEmpty(ids))
            {
                return(Content("null"));
            }
            string[]   strIds = Request["ids"].Split(',');
            List <int> idList = new List <int>();

            foreach (var strId in strIds)
            {
                idList.Add(int.Parse(strId));
            }
            if (UserInfoService.AListUpdatePolical(idList))
            {
                return(Content("success"));
            }
            else
            {
                return(Content("fail"));
            }
        }