public JsonResult Delete(long[] id) { try { int[] status = new int[id.Length]; for (int i = 0; i < id.Length; i++) { status[i] = dao.Delete(id[i]); } return(Json(new { status = status })); } catch (Exception) { return(Json(new { status = 0 })); } }