diff --git a/Elibrary_Web/Program.cs b/Elibrary_Web/Program.cs index 09ea240..22fa74e 100644 --- a/Elibrary_Web/Program.cs +++ b/Elibrary_Web/Program.cs @@ -35,10 +35,10 @@ builder.Services.AddRazorPages(); builder.Services.AddScoped(); builder.Services.AddScoped(); -builder.Services.AddScoped(); // Add services to the container. builder.Services.AddControllersWithViews(); +builder.Services.AddScoped(); var app = builder.Build(); // Configure the HTTP request pipeline.