/// <summary> /// A synchronous version of <see cref="INfieldLanguagesService.UpdateAsync"/> /// </summary> public static void Update(this INfieldLanguagesService languagesService, string surveyId, Language language) { languagesService.UpdateAsync(surveyId, language).Wait(); }
/// <summary> /// A synchronous version of <see cref="INfieldLanguagesService.AddAsync"/> /// </summary> public static Language Add(this INfieldLanguagesService languagesService, string surveyId, Language language) { return languagesService.AddAsync(surveyId, language).Result; }