public static List <CatAllStars> GetAllStars(int OrgId, string name)
        {
            List <CatAllStars> listAllStars   = new List <CatAllStars>();
            CatAllStarsDAL     objGetAllStars = new CatAllStarsDAL();

            try
            {
                try
                {
                    listAllStars = objGetAllStars.GetAllStars(OrgId, name, CommonENT.MYCTSDBPROFILES_CONNECTION);
                }
                catch (Exception ex)
                {
                    new EventsManager.EventsManager(ex, EventsManager.EventsManager.OrigenError.BaseDeDatos);
                    listAllStars = objGetAllStars.GetAllStars(OrgId, name, CommonENT.MYCTSDBPROFILESBACKUP_CONNECTION);
                }
            }
            catch { }

            return(listAllStars);
        }
        /// <summary>
        /// Codigo para busqueda de profiles de segundo nivel a un primer nivel en especifico
        /// </summary>
        /// <returns></returns>
        public static List <CatAllStars> GetAll2ndStarDetailed_Profile(string Pccid, string Star1Name, int OrgId)
        {
            List <CatAllStars> listAllStars   = new List <CatAllStars>();
            CatAllStarsDAL     objGetAllStars = new CatAllStarsDAL();

            try
            {
                try
                {
                    listAllStars = objGetAllStars.GetProfiles2LevelByFirstLevel(OrgId, Star1Name, CommonENT.MYCTSDBPROFILES_CONNECTION);
                }
                catch (Exception ex)
                {
                    new EventsManager.EventsManager(ex, EventsManager.EventsManager.OrigenError.BaseDeDatos);

                    listAllStars = objGetAllStars.GetProfiles2LevelByFirstLevel(OrgId, Star1Name, CommonENT.MYCTSDBPROFILESBACKUP_CONNECTION);
                }
            }
            catch { }

            return(listAllStars);
        }