Retrieving a movie using BsonDocument objects in the driver

Hi,

I tried to build a GetMovieAsync using BsonDocument objects. But I didn’t manage to write a proper matchStage. Could you help me to correct the following code ?

public async Task<Movie> GetMovieAsync(string movieId, CancellationToken cancellationToken = default)
{
try
{ var matchStage = new BsonDocument("$match", new BsonDocument(“Id”, movieId));
var pipeline = PipelineDefinition<Movie, Movie>.Create(new [ ] { matchStage });
return await _moviesCollection.Aggregate(pipeline).FirstOrDefaultAsync(cancellationToken);}
}