#398 api model improved

This commit is contained in:
Hamid Reza Mohammadi 2023-08-13 15:58:50 +03:30
parent 75c1a36424
commit 8086e2ff68

View File

@ -61,7 +61,7 @@ namespace RMuseum.Services.Implementation
.Include(b => b.PDFFile)
.Include(b => b.MultiVolumePDFCollection)
.Include(b => b.PDFSource)
.Include(b => b.Contributers)
.Include(b => b.Contributers).ThenInclude(c => c.Author)
.Include(b => b.Tags).ThenInclude(t => t.RTag)
.Include(b => b.Pages)
.Where(b => statusArray.Contains(b.Status) && b.Id == id)