Exemple #1
0
        public List <ulong> GetHigherRegion(ulong id, uint project)
        {
            // all users form id to the top, and direct subs of superior

            List <ulong> highers = Trust.GetUplinkIDs(id, project); // works for loops

            highers.AddRange(Trust.GetAdjacentIDs(id, project));

            highers.Remove(id); // remove target


            return(highers);
        }