Restructured CRUD implementation to accomodate ASP.NET endpoint setup

This commit is contained in:
TypoMustakes
2023-12-05 18:05:55 +01:00
parent b63cb9c19d
commit 59fbf22582
2 changed files with 116 additions and 124 deletions

View File

@@ -16,7 +16,7 @@ namespace WD7UVN_HFT_2023241.Endpoint
{
services.AddTransient<ILogicServices, LogicServices>();
services.AddTransient<CompanyDbContext>();
services.AddTransient<ICRUD>();
services.AddTransient<ICRUD, CRUD>();
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.