Theme Mediterranes Südtirol - noi-techpark/odh-docs GitHub Wiki
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");
}