private string ValidateSynonyms(string str) { if (!WordsHelper.IsEmpty(str)) { return("Please enter words"); } if (!WordsHelper.ContainsWords(str)) { return($"You should have at least two words separated by {WordsHelper.WordsSeparator}"); } return(string.Empty); }