コード例 #1
0
        public MODEL.Aluguel BuscaCarro(int id)
        {
            DAL.Aluguel dalAluguel = new DAL.Aluguel();
            //regras de negocios


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