Included navigation fields in get queries

This commit is contained in:
Khwezi Mngoma
2026-05-25 23:00:17 +02:00
parent d55bf4f82f
commit 4a85d01d1a
8 changed files with 73 additions and 22 deletions
@@ -8,7 +8,7 @@ public class AuthorBook : Models.AuthorBook
{
public virtual Author Author { get; set; } = new();
public virtual Product Book { get; set; } = new();
public new virtual Product? Product { get; set; }
public virtual ICollection<BookPage> Pages { get; set; } = [];
}