示例#1
0
 public bool Anular(FotosDeclarantesBE e_FotosDeclarantes)
 {
     try
     {
         FotosDeclarantesDA o_FotosDeclarantes = new FotosDeclarantesDA(m_BaseDatos);
         int resp = o_FotosDeclarantes.Anular(e_FotosDeclarantes);
         return(resp > 0);
     }
     catch (Exception ex)
     {
         throw new Exception("Clase Business: " + Nombre_Clase + "\r\n" + "Descripción: " + ex.Message);
     }
 }
示例#2
0
        public List <FotosDeclarantesBE> Consultar_Lista()
        {
            List <FotosDeclarantesBE> lista = new List <FotosDeclarantesBE>();

            try
            {
                FotosDeclarantesDA o_FotosDeclarantes = new FotosDeclarantesDA(m_BaseDatos);
                return(o_FotosDeclarantes.Consultar_Lista());
            }
            catch (Exception ex)
            {
                throw new Exception("Clase Business: " + Nombre_Clase + "\r\n" + "Descripción: " + ex.Message);
            }
        }