/* * Method to update transportation */ public void updateTransport(string idcar, int iduser, int oldId) { Transport newTransport = new Transport(idcar, iduser); tdao.updateTransport(newTransport, oldId); }