public static List <SabreMessages> GetSabreMessages(Module module, bool includeConditionals)
        {
            int moduleId = GetModuleID(module);

            List <SabreMessages> listSabreMessages = new List <SabreMessages>();

            try
            {
                SabreMessagesDAL objSabreMessages = new SabreMessagesDAL();
                listSabreMessages = objSabreMessages.GetSabreMessages(moduleId, includeConditionals);
            }
            catch (Exception)
            {
            }

            return(listSabreMessages);
        }
        public static SabreMessages GetSingleSabreMessage(string apiMessage, Module module)
        {
            int moduleId = GetModuleID(module);

            SabreMessages    item             = null;
            SabreMessagesDAL objSabreMessages = new SabreMessagesDAL();

            try
            {
                try
                {
                    item = objSabreMessages.GetSingleSabreMessage(apiMessage, moduleId, CommonENT.MYCTSDB_CONNECTION);
                }
                catch (Exception ex)
                {
                    new EventsManager.EventsManager(ex, EventsManager.EventsManager.OrigenError.BaseDeDatos);
                    item = objSabreMessages.GetSingleSabreMessage(apiMessage, moduleId, CommonENT.MYCTSDBBACKUP_CONNECTION);
                }
            }
            catch
            { }

            return(item);
        }