BUGFIX-ek
This commit is contained in:
@@ -5,6 +5,7 @@ using Serilog;
|
||||
using System.Collections.Generic;
|
||||
using WorkFlowCheck.BL.Services.Interfaces;
|
||||
using WorkFlowCheck.Common.DTO;
|
||||
using WorkFlowCheck.Common.Enums;
|
||||
using WorkFlowCheck.DL;
|
||||
using WorkFlowCheck.DL.Entities;
|
||||
|
||||
@@ -322,7 +323,11 @@ namespace WorkFlowCheck.BL.Services
|
||||
try
|
||||
{
|
||||
var res = await _dbContext.CheckListHeaders
|
||||
.Where(w => w.IsEditable && w.UserId == userId && w.IsDeleted != true)
|
||||
.Where(w => w.IsEditable &&
|
||||
w.UserId == userId &&
|
||||
w.IsDeleted != true &&
|
||||
(w.CheckStatus == CheckStatus.InProgress ||
|
||||
w.CheckStatus == CheckStatus.Open))
|
||||
.Include(i => i.CheckListRows)
|
||||
//.ThenInclude(i => i.CheckListTemplateRow)
|
||||
.AsNoTracking()
|
||||
|
||||
Reference in New Issue
Block a user