public ActionResult Delete(int id) { var b = LeaveMessageService.DeleteEntitiesSaved(LeaveMessageService.GetSelfAndAllChildrenMessagesByParentId(id).ToList()); return(ResultData(null, b, b ? "删除成功!" : "删除失败!")); }