public MODEL.Aluguel BuscaCarro(int id) { DAL.Aluguel dalAluguel = new DAL.Aluguel(); //regras de negocios //fim das regras return(dalAluguel.BuscaCarro(id)); }
public void Delete(int idAluguel) { DAL.Aluguel dalAluguel = new DAL.Aluguel(); dalAluguel.Delete(idAluguel); }
public void Update(MODEL.Aluguel aluguel) { DAL.Aluguel dalAluguel = new DAL.Aluguel(); dalAluguel.Update(aluguel); }
public void Insert(MODEL.Aluguel aluguel) { DAL.Aluguel dalAluguel = new DAL.Aluguel(); dalAluguel.Insert(aluguel); }
public List <MODEL.Aluguel> Select() { DAL.Aluguel dalAluguel = new DAL.Aluguel(); return(dalAluguel.Select()); }