public BO.LineTrip DOtoBOadapter(DO.DO.LineTrip ligneTrip) { BO.LineTrip x = new BO.LineTrip(); x.FinishAt = ligneTrip.FinishAt; x.Frequency = ligneTrip.Frequency; x.id = ligneTrip.id; x.Lineld = ligneTrip.Lineld; x.StartAt = ligneTrip.StartAt; return(x); }
public BO.LineTrip ReseachALineTrip(int ID) { DO.DO.LineTrip x = DL.ReseachALineTrip(ID); return(DOtoBOadapter(x)); }
public bool CreateLineTrip(BO.LineTrip adjacent) { DO.DO.LineTrip x = BOtoDOadapter(adjacent); return(DL.CreateAdjacentStation(x)); }