Esempio n. 1
0
 public Boolean GrabarDB(ct_Grupocble_Info info, ref string mensaje)
 {
     try
     {
         ct_Grupocble_Data data = new ct_Grupocble_Data();
         return(data.GrabarDB(info, ref mensaje));
     }
     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("", "GrabarDB", ex.Message), ex)
               {
                   EntityType = typeof(ct_Grupocble_Bus)
               };
     }
 }
Esempio n. 2
0
        public List <ct_Grupocble_Info> Get_list_Grupocble()
        {
            List <ct_Grupocble_Info> lm   = new List <ct_Grupocble_Info>();
            ct_Grupocble_Data        data = new ct_Grupocble_Data();


            try
            {
                lm = data.Get_list_Grupocble();
                return(lm);
            }
            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("", "Get_list_Grupocble", ex.Message), ex)
                      {
                          EntityType = typeof(ct_Grupocble_Bus)
                      };
            }
        }