https://university.mongodb.com/mercury/M220N/2020_August_25/chapter/Chapter_2_Using_the_Driver/lesson/5e879cba861ee4201e886032/problem

https://university.mongodb.com/mercury/M220N/2020_August_25/chapter/Chapter_2_Using_the_Driver/lesson/5e879cba861ee4201e886032/problem

Can you help me to solve this please. I am a beginner to nosql

Hi @Fantasy_Web,

To help you better, please describe your issue or any confusion you might have in the lesson. :slight_smile:

Kanika

I do not understand how to implement : Task

Implement the GetMoviesByCountryAsync method in MoviesRepository.cs to search movies by country and use projection to return only the Id and Title fields.

Important

text

You should specify the sort order after the Find call and before the Project call. The unit tests expect the sort order to be by “title”, descending: .SortByDescending(m=>m.Title)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.