public TravelEditModel(ConnextBusinessLayer.Bdd.TRAVEL objBdd) { Id = objBdd.ID_TRAVEL; Publication = new PublicationModel(objBdd.PUBLICATION); DepartureAgency = new AgencyLiteModel(objBdd.AGENCY); ArrivalAgency = new AgencyLiteModel(objBdd.AGENCY1); Capacity = objBdd.CAPACITY; DepartureTime = objBdd.DEPARTUREHOUR; ArrivalTime = objBdd.ARRIVALHOUR; }