mirror of
https://github.com/D4M13N-D3V/comissions-app-core-api.git
synced 2025-03-14 10:04:55 +00:00
fix: the db config model now being injected.
This commit is contained in:
parent
bd23b5328c
commit
ccc58b7c38
@ -23,6 +23,7 @@ builder.Services.AddSingleton<IPaymentService,StripePaymentServiceProvider>();
|
||||
|
||||
builder.Services.AddHttpContextAccessor();
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSingleton<ApplicationDatabaseConfigurationModel>();
|
||||
builder.Services.AddDbContext<ApplicationDbContext>();
|
||||
builder.Services.AddSwaggerGen(options =>
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user