Esempio n. 1
0
        public static Organizations GetAllOrganizationsAvailableAtGeography(int geographyId)
        {
            List <BasicGeography> nodeList = new List <BasicGeography>();

            nodeList.AddRange(GeographyCache.GetGeographyLine(geographyId));
            nodeList.AddRange(GeographyCache.GetGeographyTree(geographyId));

            return(FromIdentities(OrganizationCache.GetOrganizationsIdsInGeographies(nodeList.ToArray())));
        }
Esempio n. 2
0
 public static Organizations GetOrganizationsAvailableAtGeography(int geographyId)
 {
     BasicGeography[] nodeLine = GeographyCache.GetGeographyLine(geographyId);
     return(FromIdentities(OrganizationCache.GetOrganizationsIdsInGeographies(nodeLine)));
 }