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 DO.DO.LineTrip BOtoDOadapter(BO.LineTrip LineTrip) { couche_DL.DLAPI.DO.LineTrip x = new couche_DL.DLAPI.DO.LineTrip(); x.FinishAt = LineTrip.FinishAt; x.Frequency = LineTrip.Frequency; x.id = LineTrip.id; x.Lineld = LineTrip.Lineld; x.StartAt = LineTrip.StartAt; return(x); }
public bool UpdatelineTrip(BO.LineTrip voyage) { return(DL.UpdateAdajacent(BOtoDOadapter(voyage))); }
public bool CreateLineTrip(BO.LineTrip adjacent) { DO.DO.LineTrip x = BOtoDOadapter(adjacent); return(DL.CreateAdjacentStation(x)); }