Exemplo n.º 1
0
        public MODEL.Aluguel BuscaCarro(int id)
        {
            DAL.Aluguel dalAluguel = new DAL.Aluguel();
            //regras de negocios


            //fim das regras
            return(dalAluguel.BuscaCarro(id));
        }
Exemplo n.º 2
0
 public void Delete(int idAluguel)
 {
     DAL.Aluguel dalAluguel = new DAL.Aluguel();
     dalAluguel.Delete(idAluguel);
 }
Exemplo n.º 3
0
 public void Update(MODEL.Aluguel aluguel)
 {
     DAL.Aluguel dalAluguel = new DAL.Aluguel();
     dalAluguel.Update(aluguel);
 }
Exemplo n.º 4
0
 public void Insert(MODEL.Aluguel aluguel)
 {
     DAL.Aluguel dalAluguel = new DAL.Aluguel();
     dalAluguel.Insert(aluguel);
 }
Exemplo n.º 5
0
 public List <MODEL.Aluguel> Select()
 {
     DAL.Aluguel dalAluguel = new DAL.Aluguel();
     return(dalAluguel.Select());
 }