public bool Anular(DeclaranteIdentificacionesBE e_DeclaranteIdentificaciones) { try { DeclaranteIdentificacionesDA o_DeclaranteIdentificaciones = new DeclaranteIdentificacionesDA(m_BaseDatos); int resp = o_DeclaranteIdentificaciones.Anular(e_DeclaranteIdentificaciones); return(resp > 0); } catch (Exception ex) { throw new Exception("Clase Business: " + Nombre_Clase + "\r\n" + "Descripción: " + ex.Message); } }
public List <DeclaranteIdentificacionesBE> Consultar_Lista() { List <DeclaranteIdentificacionesBE> lista = new List <DeclaranteIdentificacionesBE>(); try { DeclaranteIdentificacionesDA o_DeclaranteIdentificaciones = new DeclaranteIdentificacionesDA(m_BaseDatos); return(o_DeclaranteIdentificaciones.Consultar_Lista()); } catch (Exception ex) { throw new Exception("Clase Business: " + Nombre_Clase + "\r\n" + "Descripción: " + ex.Message); } }