diff --git a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-SQLiteImport.cs b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-SQLiteImport.cs index 6bac48d1..70ce29ed 100644 --- a/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-SQLiteImport.cs +++ b/RMuseum/Services/Implementation/GanjoorService-Partials/GanjoorService-SQLiteImport.cs @@ -430,22 +430,7 @@ namespace RMuseum.Services.Implementation await _FillPoemCoupletIndices(context, poemId); - try - { - var poemRhymeLettersRes = LanguageUtils.FindRhyme(poemVerses); - if (!string.IsNullOrEmpty(poemRhymeLettersRes.Rhyme)) - { - dbPoem.RhymeLetters = poemRhymeLettersRes.Rhyme; - context.GanjoorPoems.Update(dbPoem); - } - } - catch - { - - } - - - + GanjoorPage dbPoemPage = new GanjoorPage() { Id = poemId, @@ -467,6 +452,8 @@ namespace RMuseum.Services.Implementation context.GanjoorPages.Add(dbPoemPage); await context.SaveChangesAsync(); + await _SectionizePoem(context, dbPoem, jobProgressServiceEF, job); + catHtmlText += $"
{Environment.NewLine}"; poemId++;