private bool IncludeAllSupportedLanguages(UpdateSiteDetails cmd, IEnumerable <UpdateSiteDetails.SiteLocalisation> siteLocalisations)
 {
     return(_languageRules.AreAllSupportedLanguagesIncluded(cmd.SiteId, siteLocalisations.Select(x => x.LanguageId)));
 }
Esempio n. 2
0
 private bool IncludeAllSupportedLanguages(MenuItemDetails cmd, IEnumerable <MenuItemDetails.MenuItemLocalisation> localisations)
 {
     return(_languageRules.AreAllSupportedLanguagesIncluded(cmd.SiteId, localisations.Select(x => x.LanguageId)));
 }
Esempio n. 3
0
 private bool IncludeAllSupportedLanguages(AddVersion cmd, IEnumerable <AddVersion.VersionLocalisation> versionLocalisations)
 {
     return(_languageRules.AreAllSupportedLanguagesIncluded(cmd.SiteId, versionLocalisations.Select(x => x.LanguageId)));
 }