Beispiel #1
0
 public int getId(int IdRubro)
 {
     try
     {
         ro_rubro_tipo_Data data = new ro_rubro_tipo_Data();
         return(data.getId(IdRubro));
     }
     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("", "getId", ex.Message), ex)
               {
                   EntityType = typeof(ro_rubro_tipo_Bus)
               };
     }
 }
Beispiel #2
0
 public Boolean VericarCodigoExiste(int IdEmpresa, string codigo, ref string mensaje)
 {
     try
     {
         ro_rubro_tipo_Data data = new ro_rubro_tipo_Data();
         return(data.VericarCodigoExiste(IdEmpresa, codigo, 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("", "VericarCodigoExiste", ex.Message), ex)
               {
                   EntityType = typeof(ro_rubro_tipo_Bus)
               };
     }
 }