Completata dismissione LuxController!!!
This commit is contained in:
@@ -30,7 +30,7 @@ namespace EgwCoreLib.Lux.Data.Repository.Job
|
||||
await using var dbCtx = await CreateContextAsync();
|
||||
|
||||
// Wrap in transaction for atomicity (multi-row update + delete)
|
||||
await using var tx = dbCtx.Database.BeginTransaction();
|
||||
await using var tx = await dbCtx.Database.BeginTransactionAsync();
|
||||
try
|
||||
{
|
||||
var dbResult = await dbCtx.DbSetJobStep
|
||||
@@ -93,7 +93,7 @@ namespace EgwCoreLib.Lux.Data.Repository.Job
|
||||
await using var dbCtx = await CreateContextAsync();
|
||||
|
||||
// Wrap in transaction for atomicity (multi-row update)
|
||||
await using var tx = dbCtx.Database.BeginTransaction();
|
||||
await using var tx = await dbCtx.Database.BeginTransactionAsync();
|
||||
try
|
||||
{
|
||||
var currRec = await dbCtx.DbSetJobStep
|
||||
|
||||
Reference in New Issue
Block a user