diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index c735d76fa..4322faad7 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -3616,6 +3616,50 @@ namespace IRaCIS.Core.Infra.EFCore.Common } + //Segmentation + + foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(Segmentation))) + { + var type = GetEntityAuditOpt(item); + + var entity = item.Entity as Segmentation; + + + await InsertInspection(entity, type, x => new InspectionConvertDTO() + { + }); + } + + + //Segment + + foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(Segment))) + { + var type = GetEntityAuditOpt(item); + + var entity = item.Entity as Segment; + + + await InsertInspection(entity, type, x => new InspectionConvertDTO() + { + }); + } + + //SegmentBinding + + foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(SegmentBinding))) + { + var type = GetEntityAuditOpt(item); + + var entity = item.Entity as SegmentBinding; + + + await InsertInspection(entity, type, x => new InspectionConvertDTO() + { + }); + } + + foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(ReadingNoneDicomMark))) { var type = GetEntityAuditOpt(item);