Perform the following steps:
- Create a new function named GenerateBARCode using the Durable Functions Orchestrator template. Replace the default code with the following, and click on the Save button to save your changes. The following code initially classes the GetAllCustomers activity function, stores all the customer IDs in an array, and then for each customer, it again calls another activity function that returns the number of barcodes that are generated. Finally, it waits till until Activity functions for all the customers have completed and then returns the sum of all the Bar Codes that are generated for all the customers:
#r "Microsoft.Azure.WebJobs.Extensions.DurableTask"public static async Task<int> ...