Skip to content

Commit de91d65

Browse files
authored
Update callflow-for-customer-interactions-csharp.md
edit code formatting
1 parent 710e337 commit de91d65

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/communication-services/quickstarts/voice-video-calling/includes/call-automation/callflow-for-customer-interactions-csharp.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,12 @@ using Azure.Communication.CallingServer;
8484
using Azure.Messaging.EventGrid;
8585
using Microsoft.AspNetCore.Mvc;
8686
using System.Text.Json;
87+
8788
var builder = WebApplication.CreateBuilder(args);
89+
8890
var client = new CallAutomationClient(builder.Configuration["ACS:ConnectionString"]);
8991
var callbackUriBase = "<YOUR_NGROK_FQDN>"; // i.e. https://someguid.ngrok.io
92+
9093
var app = builder.Build();
9194
app.MapPost("/api/incomingCall", async (
9295
[FromBody] EventGridEvent[] eventGridEvents) =>
@@ -147,6 +150,7 @@ app.MapPost("/api/calls/{contextId}", async (
147150

148151
return Results.Ok();
149152
}).Produces(StatusCodes.Status200OK);
153+
150154
app.Run();
151155
```
152156

0 commit comments

Comments
 (0)