/// <summary> /// Import data into a DocumentDB collection using a "Bulk Import" stored procedure. /// </summary> /// <param name="collection">The collection to run queries against.</param> /// <param name="sourceDirectory">The source directory to read files from.</param> /// <returns></returns> private static async Task ImportData(DocumentCollection collection, string sourceDirectory) { await DocumentClientHelper.RunBulkImport(client, collection, sourceDirectory); }