Added no tracking in upate bucket API

This commit is contained in:
ashutosh.nehete 2025-09-24 17:47:08 +05:30
parent fe1dfd7293
commit 38e1f7a0fc

View File

@ -2611,6 +2611,7 @@ namespace Marco.Pms.Services.Service
var bucketTask = bucketContext.Buckets
.Include(b => b.CreatedBy)
.ThenInclude(e => e!.JobRole)
.AsNoTracking()
.FirstOrDefaultAsync(b => b.Id == bucketDto.Id && b.TenantId == tenantId);
// Await all parallel tasks