diff --git a/AsbCloudInfrastructure/Services/ProcessMap/ProcessMapPlanImportService.cs b/AsbCloudInfrastructure/Services/ProcessMap/ProcessMapPlanImportService.cs index fd0ce38b..21f118a8 100644 --- a/AsbCloudInfrastructure/Services/ProcessMap/ProcessMapPlanImportService.cs +++ b/AsbCloudInfrastructure/Services/ProcessMap/ProcessMapPlanImportService.cs @@ -122,7 +122,7 @@ public class ProcessMapPlanImportService : IProcessMapPlanImportService private void AddToRow(IXLRow row, ProcessMapPlanDto processMap) { - row.Cell(columnWellSectionType).Value = sections.FirstOrDefault(x => x.Id == processMap.IdWellSectionType)?.Caption; + row.Cell(columnWellSectionType).Value = sections.First(x => x.Id == processMap.IdWellSectionType).Caption; row.Cell(columnMode).Value = GetModeCaption(processMap.IdMode); row.Cell(columnDepthStart).Value = processMap.DepthStart; row.Cell(columnDepthEnd).Value = processMap.DepthEnd;