Ejemplo n.º 1
0
 public void AddLine(BO.Line line)
 {
     DO.Line doLine = LineBoDoAdapter(line);
     try
     {
         dl.AddLine(doLine);
     }
     catch (DO.BadLineCodeException exp)
     {
         throw new BO.BadLineCodeException(line.ID, line.LineCode, exp.Message);
     }
     catch (DO.BadLineStationKeyException ex)
     {
         throw new BO.BadStationKeyException(ex.Id);
     }
 }