Exemple #1
0
 /// <summary>
 /// Updates the map objects translations.
 /// </summary>
 /// <param name="translations">The translations.</param>
 public static void UpdateMapObjectsTranslations(IRoadsService client, List<TranslationViewModel> translations)
 {
     client.UpdateMapObjectTranslation(translations.Select(s => new MapObjectTranslationData
         {
             LanguageId = s.LanguageId,
             LanguageKey = s.LanguageKey,
             Value = s.Value,
             MapObjectId = s.ObjectId
         }).ToArray());
 }