diff --git a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-Maintenance.cs b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-Maintenance.cs index 6dae0780..537e7652 100644 --- a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-Maintenance.cs +++ b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-Maintenance.cs @@ -62,7 +62,7 @@ namespace RMuseum.Services.Implementation if(section.GanjoorMetreId != null) { - var dependentSections = sections.Where(s => s.GanjoorMetreRefSectionIndex == section.Id).ToList(); + var dependentSections = sections.Where(s => s.GanjoorMetreRefSectionIndex == section.Index).ToList(); foreach (var dsection in dependentSections) { dsection.GanjoorMetreId = section.GanjoorMetreId; @@ -78,7 +78,7 @@ namespace RMuseum.Services.Implementation if (section.GanjoorMetreId != null) { - var dependentSections = sections.Where(s => s.GanjoorMetreRefSectionIndex == section.Id).ToList(); + var dependentSections = sections.Where(s => s.GanjoorMetreRefSectionIndex == section.Index).ToList(); foreach (var dsection in dependentSections) { if(dsection.GanjoorMetreId != null && !string.IsNullOrEmpty(dsection.RhymeLetters))