public int getMaxReserveID() { ReserveOrderDataService rs = new ReserveOrderDataService(); int id = rs.getMaxReserveIdData(); return(id); }
public int insertReserveOrder(string cusFullname, string receiveDate) { ReserveOrderDataService rs = new ReserveOrderDataService(); rs.insertReserveOrderData(cusFullname, receiveDate); int id = rs.getMaxReserveIdData(); return(id); }