Added no tracking in upate bucket API
This commit is contained in:
parent
fe1dfd7293
commit
38e1f7a0fc
@ -2611,6 +2611,7 @@ namespace Marco.Pms.Services.Service
|
|||||||
var bucketTask = bucketContext.Buckets
|
var bucketTask = bucketContext.Buckets
|
||||||
.Include(b => b.CreatedBy)
|
.Include(b => b.CreatedBy)
|
||||||
.ThenInclude(e => e!.JobRole)
|
.ThenInclude(e => e!.JobRole)
|
||||||
|
.AsNoTracking()
|
||||||
.FirstOrDefaultAsync(b => b.Id == bucketDto.Id && b.TenantId == tenantId);
|
.FirstOrDefaultAsync(b => b.Id == bucketDto.Id && b.TenantId == tenantId);
|
||||||
|
|
||||||
// Await all parallel tasks
|
// Await all parallel tasks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user