-
Notifications
You must be signed in to change notification settings - Fork 4
Theme Gourmet
lukmay edited this page Dec 16, 2023
·
2 revisions
If an accommodation has a Feature from the following list, the theme "Gourmet" is added to the ThemeIds
.
-
F0A385D0E8E44944AFCA3893712A1420
- IT: Guida l’Espresso
- DE: Guide l‘Espresso
- EN: Guide l‘Espresso
- FL: Guide l‘Espresso
- PL: Guide l‘Espresso
-
C0E761D71CC44F4C80D75FF68ED72C55
- DE: Feinschmecker
- EN: Feinschmecker
- FL: Feinschmecker
- IT: Feinschmecker
- PL: Feinschmecker
-
6797D594C7BF4C7AA6D384B234EC7C44
- EN: Aral gourmands' atlas
- DE: Aral Schlemmer Atlas
- FL: Aral schlemmer atlas
- IT: Aral schlemmer atlas
-
E5775068F5644E92B7CF94BDFCDA5175
- IT: Guida varta
- DE: Varta Führer
- FL: Varta führer
- EN: Varta guide
-
1FFD5352501542BF8BCB24B7BF75CF4F
- DE: Bertelsmann
- EN: Bertelsmann
- FL: Bertelsmann
- IT: Bertelsmann
-
5060F78090604B2E97A96D86B97D2E0B
- IT: Guida Michelin
- DE: Guide Michelin
- EN: Guide Michelin
- FL: Guide Michelin
- PL: Guide Michelin
The Code:
Is implemented here.
if (myacco.Features != null)
{
var gourmet = myacco.Features.Where(x => x.Id == "46AD7938616B4D4882A006BEF3B199A4" ||
x.Id == "F0A385D0E8E44944AFCA3893712A1420" ||
x.Id == "F0A385D0E8E44944AFCA3893712A1420" ||
x.Id == "C0E761D71CC44F4C80D75FF68ED72C55" ||
x.Id == "6797D594C7BF4C7AA6D384B234EC7C44" ||
x.Id == "E5775068F5644E92B7CF94BDFCDA5175" ||
x.Id == "1FFD5352501542BF8BCB24B7BF75CF4F" ||
x.Id == "5060F78090604B2E97A96D86B97D2E0B");
if (gourmet.Count() > 0)
{
myacco.ThemeIds.Add("Gourmet");
}
}
This wiki contains additional information about the Open Data Hub alongside the Open Data Hub - Official Documentation 🔗 .