public void AddStation(BO.Station s) { //from BO to DO DO.Station DOstation = StationFromBoToDo(s); try { dl.AddStation(DOstation); foreach (BO.AdjacentStation item in s.AdjacentStations) { dl.AddAdjacentStations(AdjFromBoToDo(item, s.Code)); } } catch (DO.BadStationKeyException e) { throw new BO.BadStationKeyException(s.Code, e.Message); } }