This commit is contained in:
Hamid Reza Mohammadi 2024-05-10 18:24:44 +03:30
parent de435d049b
commit 62506132fc

View File

@ -232,7 +232,11 @@ namespace RMuseum.Services.Implementation
{
var sources = await context.PinterestLinks.Where(l => l.GanjoorPostId == poem.Id).ToListAsync();
foreach (var source in sources)
{
source.IsTextOriginalSource = source.PDFBookId == bookId;
if (source.IsTextOriginalSource)
source.HumanReviewed = true;
}
context.UpdateRange(sources);
await context.SaveChangesAsync();
}