Exemplo n.º 1
0
        public JsonResult BatchDelete(string ids)
        {
            var         strArr = ids.Split(',');
            List <long> listid = new List <long>();

            foreach (var arr in strArr)
            {
                listid.Add(Convert.ToInt64(arr));
            }
            _iManagerService.BatchDeletePlatformManager(listid.ToArray());
            return(Json(new Result()
            {
                success = true, msg = "批量删除成功!"
            }));
        }
Exemplo n.º 2
0
 /// <summary>
 /// 批量删除平台管理员
 /// </summary>
 /// <param name="ids"></param>
 public static void BatchDeletePlatformManager(long[] ids)
 {
     _iManagerService.BatchDeletePlatformManager(ids);
 }