public string DeleteDepart(int id) { if (bll.DeleteDepart(id) > 0) { return("删除成功"); } else { return("删除失败"); } }