Example #1
0
        public string cadastraVoo(int numVoo, int codigoOrigem, int codigoDestino)
        {
            Aeroporto objAero = new Aeroporto();
            NodeVoo   objVoo  = new NodeVoo(numVoo, codigoDestino, null);
            string    message = objAero.vincularVooAeroporto(objVoo, codigoOrigem);

            return(message);
        }
Example #2
0
 public NodeVoo(int numeroVoo, int indiceCidadeDestino, NodeVoo next)
 {
     this.next = next;
     this.indiceCidadeDestino = indiceCidadeDestino;
     this.numeroVoo           = numeroVoo;
 }