I just face wall trying to create my.net API. I'm trying to Serialize data from db view into JSON. I can't make it to the below form.
{ name : "Name",
someObject : {
name : "Name2"}
Could I can serialize it from single db view to that form?
Or if no, how I can relate models and context created with dotnet ef dbcontext scaffold
Hope You can help me ❤