This commit is contained in:
Hamid Reza Mohammadi 2023-07-26 17:10:39 +03:30
parent d3909d2a8d
commit 8dcb800d34

View File

@ -408,7 +408,7 @@ namespace RMuseum.Services.Implementation
File.Delete(model.LocalImportingPDFFilePath);
if (res.Result != null)
{
var pdf = res.Result;
var pdf = await context.PDFBooks.Include(p => p.Tags).Where(p => p.Id == res.Result.Id).SingleAsync();
foreach (var tag in meta)
{
pdf.Tags.Add(tag);