public async Task <IReadOnlyList <WordDetailsModel> > FindAllAsync(WordSearchQueryModel query) { var wordDetails = await _wordRepository.FindAllAsync(query.Words); return(wordDetails .Where(x => x != null) .ToList()); }