public async Task <List <string> > AddUniqueWordsAsync(IWordsRepository wordsRepository, List <string> words) { var result = await wordsRepository.TryAddNewWordsAsync(words); var uniqueWords = result .Select(x => words[x.RowId - 1]) .ToList(); return(uniqueWords); }