public void InserirImovel(Entidades.Imovel Ent) { try { DAL.Imovel DAL = new DAL.Imovel(); DAL.InserirImovel(Ent); } catch (Exception ex) { throw ex; } }// --------------------------------------------------------------------------------------------
}// -------------------------------------------------------------------------------------------- public void AlteraImovel(Int32 Imovel, Entidades.Imovel Ent) { try { DAL.Imovel DAL = new DAL.Imovel(); DAL.AlteraImovel(Imovel, Ent); } catch (Exception Ex) { throw Ex; } }
}// -------------------------------------------------------------------------------------------- public void RemoveImovel(Int32 Imovel) { try { DAL.Imovel DAL = new DAL.Imovel(); DAL.RemoveImovel(Imovel); } catch (Exception ex) { throw ex; } }// --------------------------------------------------------------------------------------------
}// -------------------------------------------------------------------------------------------- public Entidades.Imovel CarregaImovelGetSelected(Int32 imovel) { try { DAL.Imovel DAL = new DAL.Imovel(); return(DAL.CarregaImovelGetSelected(imovel)); } catch (Exception ex) { throw ex; } }// --------------------------------------------------------------------------------------------
}// -------------------------------------------------------------------------------------------- public Entidades.ImovelColletion CarregaSubCategorias() { try { DAL.Imovel DAL = new DAL.Imovel(); return(DAL.CarregaSubCategorias()); } catch (Exception ex) { throw ex; } }// --------------------------------------------------------------------------------------------