Skip to content

Commit

Permalink
!
Browse files Browse the repository at this point in the history
  • Loading branch information
Laith authored and Laith committed Mar 14, 2024
1 parent cb79f2f commit 2cce1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Elibrary_Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
builder.Services.AddRazorPages();
builder.Services.AddScoped<IUnitOfWork, UnitOfWork>();
builder.Services.AddScoped<IEmailSender, EmailSender>();
builder.Services.AddScoped<IDbInitializer, DbInitializer>();
// Add services to the container.
builder.Services.AddControllersWithViews();

builder.Services.AddScoped<IDbInitializer, DbInitializer>();
var app = builder.Build();

// Configure the HTTP request pipeline.
Expand Down

0 comments on commit 2cce1de

Please sign in to comment.