Пример #1
0
 public Boolean AnularDB(tb_Empresa_Info info, ref string MensajeErrorOut)
 {
     try
     {
         return(Data.AnularDB(info, ref MensajeErrorOut));
     }
     catch (Exception ex)
     {
         // string MensajeErrorOut = "";
         string arreglo = ToString();
         tb_sis_Log_Error_Vzen_Data oDataLog      = new tb_sis_Log_Error_Vzen_Data();
         tb_sis_Log_Error_Vzen_Info Log_Error_sis = new tb_sis_Log_Error_Vzen_Info(ex.ToString(), eTipoError.ERROR, arreglo, "",
                                                                                   "", "", "", "", DateTime.Now);
         oDataLog.Guardar_Log_Error(Log_Error_sis, ref MensajeErrorOut);
         MensajeErrorOut = ex.InnerException + " " + ex.Message;
         return(false);
     }
 }