예제 #1
0
 public override List <BaseEntity> RemapAllGuids(Func <Guid, bool, Guid> map)
 {
     base.RemapAllGuids(map);
     SiteIds         = SiteIds.Select(s => map(s, false)).ToList();
     SiteNavigations = SiteNavigations.Select(s => map(s, false)).ToList();
     return(null);
 }
예제 #2
0
        public async static Task <string> GetSiteId(string siteContentUrl)
        {
            if (!SiteIds.ContainsKey(siteContentUrl))
            {
                await GetToken(siteContentUrl);
            }

            return(SiteIds[siteContentUrl]);
        }