-
Notifications
You must be signed in to change notification settings - Fork 4
Theme In den Dolomiten
lukmay edited this page Dec 16, 2023
·
2 revisions
If an accommodation's DistrictId
is listed in the predefined Dolomiten district list, the theme "Dolomiten" is added to the ThemeIds
.
The Districts that are "Dolomiten" are saved in the ""Dolomites.xml"
The Code:
Is implemented here.
var isindolomitenlist = dolomiteslist.Root.Elements("Fraction").Where(x => x.Value == myacco.DistrictId).Count();
if (isindolomitenlist > 0)
{
myacco.ThemeIds.Add("Dolomiten");
}
This wiki contains additional information about the Open Data Hub alongside the Open Data Hub - Official Documentation 🔗 .