internal static CarpoolingDAL.StartFinish createDALStartFinishFromPlace(Place place, Route route) { CarpoolingDAL.StartFinish nsf = new CarpoolingDAL.StartFinish(); nsf.address = place.Address; nsf.direction = place.InOrOut; nsf.idCity = place.City.Id; nsf.idRoute = route.Id; return(nsf); }
internal static CarpoolingDAL.StartFinish createDALStartFinishFromPlace(Place place, Route route) { CarpoolingDAL.StartFinish nsf = new CarpoolingDAL.StartFinish(); nsf.address = place.Address; nsf.direction = place.InOrOut; nsf.idCity = place.City.Id; nsf.idRoute = route.Id; return nsf; }