Пример #1
0
 public Canal ObtenerCanalById(int idCanal)
 {
     try
     {
         using (BusinessCanal negocio = new BusinessCanal())
         {
             return(negocio.ObtenerCanalById(idCanal));
         }
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Пример #2
0
 public List <Canal> ObtenerCanalesAll(bool insertarSeleccion)
 {
     try
     {
         using (BusinessCanal negocio = new BusinessCanal())
         {
             return(negocio.ObtenerCanalesAll(insertarSeleccion));
         }
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }