From e4ca4dcc097650e9f6ca564e1c6054798cd1affa Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Mon, 19 Sep 2022 17:01:37 -1000 Subject: [PATCH] format snippet (#58) --- fundamentals/middleware/problem-details-service/Program.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fundamentals/middleware/problem-details-service/Program.cs b/fundamentals/middleware/problem-details-service/Program.cs index 4a52c58..1646bac 100644 --- a/fundamentals/middleware/problem-details-service/Program.cs +++ b/fundamentals/middleware/problem-details-service/Program.cs @@ -1,4 +1,4 @@ -#define API_CONTROLLER // FIRST MIDDLEWARE API_CONTROLLER API_CONT_SHORT +#define MIDDLEWARE // FIRST MIDDLEWARE API_CONTROLLER API_CONT_SHORT #if NEVER #elif FIRST // @@ -75,6 +75,7 @@ app.Run(); // #elif MIDDLEWARE +// var builder = WebApplication.CreateBuilder(args); builder.Services.AddEndpointsApiExplorer(); @@ -153,7 +154,7 @@ app.MapGet("/squareroot", (HttpContext context, double radicand) => }); app.Run(); - +// #elif API_CONTROLLER // var builder = WebApplication.CreateBuilder(args);