pure sql baybeee
This commit is contained in:
1 parent
b7ad479ead
commit
5a7e493d92
12 files changed
+173
-39
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
using Server;
|
||||
using Server.Services;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
@@ -11,6 +12,7 @@ builder.Services.AddDbContextPool<SpaceRaceDbContext>(options => {
|
||||
assembly => assembly.MigrationsAssembly(typeof(SpaceRaceDbContext).Assembly.FullName)
|
||||
);
|
||||
});
|
||||
builder.Services.AddScoped<LapTimesService>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
|
||||
Reference in new issue
Block a user