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);