Skip to content

Commit

Permalink
Adding AddWalletDbContext method in program
Browse files Browse the repository at this point in the history
  • Loading branch information
Edrisym committed Nov 20, 2024
1 parent 6f2d323 commit f17fad2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions EWallet.Api/Program.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@


var builder = WebApplication.CreateBuilder(args);

builder.Services
.AddCustomAuthentication(builder.Configuration)
.AddCustomAuthorization();

builder.AddWalletDbContext();

Check failure on line 9 in EWallet.Api/Program.cs

View workflow job for this annotation

GitHub Actions / build

'WebApplicationBuilder' does not contain a definition for 'AddWalletDbContext' and no accessible extension method 'AddWalletDbContext' accepting a first argument of type 'WebApplicationBuilder' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 9 in EWallet.Api/Program.cs

View workflow job for this annotation

GitHub Actions / build

'WebApplicationBuilder' does not contain a definition for 'AddWalletDbContext' and no accessible extension method 'AddWalletDbContext' accepting a first argument of type 'WebApplicationBuilder' could be found (are you missing a using directive or an assembly reference?)

var app = builder.Build();

app.UseHttpsRedirection();
Expand Down

0 comments on commit f17fad2

Please sign in to comment.