Beispiel #1
0
 public void InserirPlaca(int idVenda, string placa, string km, string data)
 {
     try
     {
         novaPlaca = new AcessoDados.PlacaAcessoDados();
         novaPlaca.InserirPlaca(idVenda, placa, km, data);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Beispiel #2
0
 public DataTable PesquisarPlaca(string numCupom)
 {
     try
     {
         novaPlaca = new AcessoDados.PlacaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaPlaca.PesquisarPlaca(numCupom);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }