#401 bug fix
This commit is contained in:
parent
d3909d2a8d
commit
8dcb800d34
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user