Пример #1
0
 DO.BusStation BusStationBoDoAdapter(BO.BusStation stationBo)
 {
     DO.BusStation stationDo = new DO.BusStation();
     stationBo.CopyPropertiesTo(stationDo);
     if (stationDo.Latitude == 0)
     {
         stationDo.Latitude = rndLat.NextDouble() + 31;
     }
     if (stationDo.Longitude == 0)
     {
         stationDo.Longitude = rndLong.NextDouble() + 34;
     }
     return(stationDo);
 }