private IPRestrictionId GetIPRestrictionId(Site s, string path) { return(new IPRestrictionId(s?.Id, path, IPRestrictionsHelper.IsSectionLocal(s, path))); }