Theme Skigebiete - noi-techpark/odh-docs GitHub Wiki
If an accommodation's DistrictId
exists in a predefined ski area list, the theme "Am Skigebiet" is added to the ThemeIds
.
The Code:
Is implemented here.
var isinskiarealist = myskiarealist.Root.Elements("Fraction").Where(x => x.Value == myacco.DistrictId).Count();
if (isinskiarealist > 0)
{
myacco.ThemeIds.Add("Am Skigebiet");
}