I'm trying to update a whole entity with nested objects(other entities) through a PUT request. So I send a DTO class to my controller convert the DTO to an entity db.Entry(myclass)

set state to Modified and update the database, this works.

but now when I have deleted a nested object in the frontend and send my whole object again to the same controller nothing happens. Can anyone give me an example or an url where I can see how to update nested objects where for example an item is deleted?

Related posts

Recent Viewed