diff --git a/fundamentals/middleware/problem-details-service/Program.cs b/fundamentals/middleware/problem-details-service/Program.cs index 32a64a9..5ece496 100644 --- a/fundamentals/middleware/problem-details-service/Program.cs +++ b/fundamentals/middleware/problem-details-service/Program.cs @@ -321,14 +321,10 @@ app.Run(); // var builder = WebApplication.CreateBuilder(args); -// Add services to the container. -// addd SampleProblemDetailsWriter to dependency injection builder.Services.AddTransient(); var app = builder.Build(); - - // Middleware to handle writing problem details to the response. app.Use(async (context, next) => {