Beispiel #1
0
 public void InserirImovel(Entidades.Imovel Ent)
 {
     try
     {
         DAL.Imovel DAL = new DAL.Imovel();
         DAL.InserirImovel(Ent);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }// --------------------------------------------------------------------------------------------
Beispiel #2
0
        }// --------------------------------------------------------------------------------------------

        public void AlteraImovel(Int32 Imovel, Entidades.Imovel Ent)
        {
            try
            {
                DAL.Imovel DAL = new DAL.Imovel();
                DAL.AlteraImovel(Imovel, Ent);
            }
            catch (Exception Ex)
            {
                throw Ex;
            }
        }
Beispiel #3
0
        }// --------------------------------------------------------------------------------------------

        public void RemoveImovel(Int32 Imovel)
        {
            try
            {
                DAL.Imovel DAL = new DAL.Imovel();
                DAL.RemoveImovel(Imovel);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }// --------------------------------------------------------------------------------------------
Beispiel #4
0
        }// --------------------------------------------------------------------------------------------

        public Entidades.Imovel CarregaImovelGetSelected(Int32 imovel)
        {
            try
            {
                DAL.Imovel DAL = new DAL.Imovel();
                return(DAL.CarregaImovelGetSelected(imovel));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }// --------------------------------------------------------------------------------------------
Beispiel #5
0
        }// --------------------------------------------------------------------------------------------

        public Entidades.ImovelColletion CarregaSubCategorias()
        {
            try
            {
                DAL.Imovel DAL = new DAL.Imovel();
                return(DAL.CarregaSubCategorias());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }// --------------------------------------------------------------------------------------------