public async Task <string> FindOneAndReplaceAsync(string dbName) { var api = new MongoDB2_6Api(dbName); var entity = await api.FindOneAndReplaceAsync(); return("Entity Name: " + (entity == null ? "null entity" : entity.Name)); }
public async Task <string> FindOneAndReplaceAsync(string dbName) { var api = new MongoDB2_6Api(dbName); var entity = await api.FindOneAndReplaceAsync(); return("Entity Name: " + (entity == null ? "null entity" : entity.Name)); }