Fixed InMemoryDb not being correctly started

This commit is contained in:
TypoMustakes
2023-12-06 23:32:34 +01:00
parent 9d685f955d
commit 8f6b9fae89

View File

@@ -30,6 +30,8 @@ namespace WD7UVN_HFT_2023241.Endpoint
{ {
c.SwaggerDoc("v1", new OpenApiInfo { Title = "WD7UVN_HFT_2023241.Endpoint", Version = "v1" }); c.SwaggerDoc("v1", new OpenApiInfo { Title = "WD7UVN_HFT_2023241.Endpoint", Version = "v1" });
}); });
Database.Context = new CompanyDbContext();
} }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.