public Task <IReadOnlyList <WordMetadataModel> > FindAllAsync(string topic, DictionaryEnglishLevel level)
 {
     return(_metadataRepository.FindAllAsync(topic, level));
 }
        public async Task <IReadOnlyList <WordMetadataModel> > FindAllAsync(string topic, DictionaryEnglishLevel level)
        {
            var entities = await _mongoRepository.FindAllAsync(
                x => x.Level == level && x.Topics.Contains(topic));

            return(_mapper.Map <IReadOnlyList <WordMetadataModel> >(entities));
        }