public async void AddSynonymsAsync() { ShowProgress = true; var synonyms = WordsHelper.GetWords(SynonymsValidation.Value); await Task.Run(() => _thesaurus.AddSynonyms(synonyms)); ShowProgress = false; SynonymsValidation.Value = string.Empty; }