public async Task DeleteDatabaseAsync(string databaseName, bool hardDelete = false, CancellationToken token = default(CancellationToken)) { using (var req = adminRequest.DeleteDatabase(databaseName, hardDelete)) { await req.ExecuteRequestAsync().WithCancellation(token).ConfigureAwait(false); } }
public async Task DeleteDatabaseAsync(string databaseName, bool hardDelete = false) { using (var req = adminRequest.DeleteDatabase(databaseName, hardDelete)) { await req.ExecuteRequestAsync().ConfigureAwait(false); } }
public Task DeleteDatabaseAsync(string databaseName, bool hardDelete = false) { return(adminRequest.DeleteDatabase(databaseName, hardDelete).ExecuteRequestAsync()); }