public string FindOneAndUpdate(string dbName) { var api = new MongoDB2_6Api(dbName); var entity = api.FindOneAndUpdate(); return("Entity Name: " + (entity == null ? "null entity" : entity.Name)); }