public JsonResult DelRange(int[] ids) { ActionResultModel <string> model = new ActionResultModel <string>(); model.isSuccess = ls.DeleteRange(ids); model.respnseInfo = model.isSuccess ? "删除成功" : "删除失败"; return(Json(model)); }