public async Task <string> DistinctAsync(string dbName) { var api = new MongoDB2_6Api(dbName); var result = await api.DistinctAsync(); var name = result.Any() ? result.First <string>() : "none"; return("Name: " + name); }