delete share ui

This commit is contained in:
2026-04-10 19:40:36 +10:00
parent 2e81082615
commit a449028e90
169 changed files with 1 additions and 12171 deletions
+1 -8
View File
@@ -94,8 +94,7 @@ services.AddScoped<IMotorVehicles, MotorVehiclesRepository>();
#region app
var app = builder.Build();
using (var scope = app.Services.CreateScope())
using (IServiceScope scope = app.Services.CreateScope())
{
try
{
@@ -103,7 +102,6 @@ using (var scope = app.Services.CreateScope())
var db = context.Database;
if (db != null)
{
try
{
using var cts = new CancellationTokenSource();
@@ -132,20 +130,15 @@ using (var scope = app.Services.CreateScope())
{
//continue
}
}
id = staff.InsertOneUser();
}
}
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
}
}