Beispiel #1
0
 public bool Anular(UbigeoBE e_Ubigeo)
 {
     try
     {
         UbigeoDA o_Ubigeo = new UbigeoDA(m_BaseDatos);
         int      resp     = o_Ubigeo.Anular(e_Ubigeo);
         return(resp > 0);
     }
     catch (Exception ex)
     {
         throw new Exception("Clase Business: " + Nombre_Clase + "\r\n" + "Descripción: " + ex.Message);
     }
 }
Beispiel #2
0
        public List <UbigeoBE> Consultar_Lista()
        {
            List <UbigeoBE> lista = new List <UbigeoBE>();

            try
            {
                UbigeoDA o_Ubigeo = new UbigeoDA(m_BaseDatos);
                return(o_Ubigeo.Consultar_Lista());
            }
            catch (Exception ex)
            {
                throw new Exception("Clase Business: " + Nombre_Clase + "\r\n" + "Descripción: " + ex.Message);
            }
        }
Beispiel #3
0
        public UbigeoBEList GetListaProvincia(String idDepartamento)
        {
            UbigeoDA oUbigeoDA = new UbigeoDA();

            return(oUbigeoDA.GetListaProvincia(idDepartamento));
        }
Beispiel #4
0
        public UbigeoBEList GetListaDistrito(String idDepartamento, String idProvincia)
        {
            UbigeoDA oUbigeoDA = new UbigeoDA();

            return(oUbigeoDA.GetListaDistrito(idDepartamento, idProvincia));
        }
Beispiel #5
0
        public UbigeoBEList GetListaDepartamento()
        {
            UbigeoDA oUbigeoDA = new UbigeoDA();

            return(oUbigeoDA.GetListaDepartamento());
        }