This commit is contained in:
Hamid Reza Mohammadi 2023-12-23 21:41:53 +03:30
parent 1073a28100
commit a18089e126

View File

@ -344,7 +344,7 @@ namespace RMuseum.Services.Implementation
html += $"<ol>{Environment.NewLine}";
foreach (var quotedPoem in claimedByBothList)
{
var poem = await context.GanjoorPoems.AsNoTracking().Where(p => p.Id == quotedPoem.PoetId).SingleAsync();
var poem = await context.GanjoorPoems.AsNoTracking().Where(p => p.Id == quotedPoem.PoemId).SingleAsync();
html += $"<li>{Environment.NewLine}";
html += $"<h3>{Environment.NewLine}";
html += $"<a href=\"{poem.FullUrl}\">{poem.FullTitle}</a> :: <a href=\"{quotedPoem.CachedRelatedPoemFullUrl}\">{quotedPoem.CachedRelatedPoemFullTitle}</a>{Environment.NewLine}";