예제 #1
0
 /// <summary>
 /// Obtiene las entradas/salidas zilmax
 /// </summary>
 /// <param name="organizacionId"></param>
 /// <param name="fechaZilmax"> </param>
 /// <returns></returns>
 internal IList <ReporteEntradaSalidaZilmaxInfo> ObtenerEntrantesSalidaZilmaxSeleccionados(int organizacionId, DateTime fechaZilmax)
 {
     try
     {
         Logger.Info();
         var reporteEntradaSalidaZilmaxDAL            = new ReporteEntradaSalidaZilmaxDAL();
         IList <ReporteEntradaSalidaZilmaxInfo> lista =
             reporteEntradaSalidaZilmaxDAL.ObtenerDatosReporteSeleccionado(organizacionId, fechaZilmax);
         return(lista);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }
예제 #2
0
 /// <summary>
 ///  Obtiene una lista de los corrales entrantes a Zilmax
 /// </summary>
 /// <returns></returns>
 public IList <ReporteEntradaSalidaZilmaxInfo> ObtenerEntrantesZilmaxTodos(int organizacionID)
 {
     try
     {
         Logger.Info();
         var reporteEntradaSalidaZilmaxDAL            = new ReporteEntradaSalidaZilmaxDAL();
         IList <ReporteEntradaSalidaZilmaxInfo> lista =
             reporteEntradaSalidaZilmaxDAL.ObtenerDatosReporte(organizacionID);
         return(lista);
     }
     catch (ExcepcionGenerica)
     {
         throw;
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }