public List <Member> getList(int id) { DBlink dBLink = new DBlink(); dBLink.DBconn(); List <Member> list = dBLink.getMemberListByDepartmentId(id); dBLink.DBclose(); return(list); }