コード例 #1
0
ファイル: TicketDAO.cs プロジェクト: UCLINF-20152-PI1/Gama
        public int codigoEstacionamento()
        {
            EstacionamentoDAO estacionamento = new EstacionamentoDAO();

            int cod = 0;
            for (int i = 0; i < estacionamento.ObterTodos().Count; i++)
            {
                cod = estacionamento.ObterTodos()[i].CodEstacionamento;
            }
            return cod;
        }