コード例 #1
0
 public List <tb_Bodega_Info> Get_List_Bodega(int IdEmpresa, int IdSucursal)
 {
     try
     {
         return(data.Get_List_Bodega(IdEmpresa, IdSucursal));
     }
     catch (Exception ex)
     {
         Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message);
         throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "Obtener_Bodegas", ex.Message), ex)
               {
                   EntityType = typeof(tb_Bodega_Bus)
               };
     }
 }
コード例 #2
0
 public List <tb_Bodega_Info> Get_List_Bodega(int IdEmpresa, Cl_Enumeradores.eTipoFiltro TipoCarga = Cl_Enumeradores.eTipoFiltro.Normal)
 {
     try
     {
         tb_Bodega_Data data = new tb_Bodega_Data();
         return(data.Get_List_Bodega(IdEmpresa, TipoCarga));
     }
     catch (Exception ex)
     {
         Core.Erp.Info.Log_Exception.LoggingManager.Logger.Log(Core.Erp.Info.Log_Exception.LoggingCategory.Error, ex.Message);
         throw new Core.Erp.Info.Log_Exception.DalException(string.Format("", "Obtener_BodegasTodas", ex.Message), ex)
               {
                   EntityType = typeof(tb_Bodega_Bus)
               };
     }
 }