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); }
public async static Task <string> GetSiteId(string siteContentUrl) { if (!SiteIds.ContainsKey(siteContentUrl)) { await GetToken(siteContentUrl); } return(SiteIds[siteContentUrl]); }