public void Delete(int idCombustivel)
        {
            if (idCombustivel > 0)
            {
                DAL.Combustivel dalCombustivel = new DAL.Combustivel();
                dalCombustivel.Delete(idCombustivel);
            }

            else
            {
                MessageBox.Show("ITEN PARA EXCLUSÃO NÃO SELECIONADO!", "EXCLUIR", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }
 public List <MODEL.Combustivel> SelectByID(int id)
 {
     DAL.Combustivel dalCombustivel = new DAL.Combustivel();
     return(dalCombustivel.SelectByID(id));
 }
 public void Insert(MODEL.Combustivel combustivel)
 {
     DAL.Combustivel dalCombustivel = new DAL.Combustivel();
     dalCombustivel.Inserir(combustivel);
 }
 public List <MODEL.Combustivel> Select()
 {
     DAL.Combustivel dalCombustivel = new DAL.Combustivel();
     return(dalCombustivel.Select());
 }