예제 #1
0
 protected internal bool Anular(DeportesBE e_Deportes)
 {
     try
     {
         DeportesDA o_Deportes = new DeportesDA(m_BaseDatos);
         int        resp       = o_Deportes.Anular(e_Deportes);
         return(resp > 0);
     }
     catch (Exception ex)
     {
         throw new Exception("Clase Business: " + Nombre_Clase + "\r\n" + "Descripción: " + ex.Message);
     }
 }
예제 #2
0
        public List <DeportesBE> Consultar_Lista()
        {
            List <DeportesBE> lista = new List <DeportesBE>();

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