public RecipeRepository(MongoRecipeDBContext context) : base(context) { _context = context; }
public MongoAsyncRepository(MongoRecipeDBContext context) { _context = context; _collection = _context.GetCollection <TDocument>(typeof(TDocument).Name); }