public JsonResult Delete(string moudleId, string menuId, string btnId, List <int> ids)
        {
            var res = new Result <string>();

            if (ids != null && ids.Any())
            {
                service.Delete(item => ids.Contains(item.Id));
            }
            res.data = "删除成功";
            res.flag = true;

            return(Json(res, JsonRequestBehavior.AllowGet));
        }
 public ActionResult Delete(int[] check)
 {
     check = check ?? new int[0];
     Array.ForEach(check, id => navigateService.Delete(id));
     return(RedirectToAction("Index"));
 }