Example #1
0
        public async Task <string> FindOneAndUpdateAsync(string dbName)
        {
            var api    = new MongoDB2_6Api(dbName);
            var entity = await api.FindOneAndUpdateAsync();

            return("Entity Name: " + (entity == null ? "null entity" : entity.Name));
        }