diff --git a/src/WorkFlowCheck.BL/Services/SyncService.cs b/src/WorkFlowCheck.BL/Services/SyncService.cs index 31e7133..6dd7832 100644 --- a/src/WorkFlowCheck.BL/Services/SyncService.cs +++ b/src/WorkFlowCheck.BL/Services/SyncService.cs @@ -321,8 +321,9 @@ namespace WorkFlowCheck.BL.Services try { var res = await _dbContext.CheckListHeaders - .Where(w => w.IsEditable && w.UserId == userId) + .Where(w => w.IsEditable && w.UserId == userId && w.IsDeleted != true) .Include(i => i.CheckListRows) + //.ThenInclude(i => i.CheckListTemplateRow) .AsNoTracking() .ToListAsync();