-
Notifications
You must be signed in to change notification settings - Fork 4
Theme Mediterranes Südtirol
lukmay edited this page Dec 16, 2023
·
2 revisions
If an accommodation's DistrictId
is present in a specified list of Mediterranean districts, the theme "Mediterran" is added to the ThemeIds
.
The Districts that are "Mediterran" are saved in the "Mediterranean.xml"
The Code:
Is implemented here.
var isinmediterranlist = mymediterranenlist.Root.Elements("Fraction").Where(x => x.Value == myacco.DistrictId).Count();
if (isinmediterranlist > 0)
{
myacco.ThemeIds.Add("Mediterran");
}
This wiki contains additional information about the Open Data Hub alongside the Open Data Hub - Official Documentation 🔗 .