AsyncEntitySetController does not properly interpret JSON content.
Please fix it for EntitySetController, ODataController and ApiController as well.This works (Controller called with proper entity value) Unfortunatly this is hand edited
"Id":"0","GenreId":"5","ArtistId":"5","Title":"555","Price":"5.99","AlbumArtUrl":"","RowVersion":"AAAAAAAAqqo=","Artist":null,"Genre":null}
This dos not work (Controller called with null entity value) Fortunately created by HttpClient.PutAsJsonAsync() :-)
"Id":0,"GenreId":5,"ArtistId":5,"Title":"555","Price":5.99,"AlbumArtUrl":"","RowVersion":"AAAAAAAAqqo=","Artist":null,"Genre":null,"Carts":[]}
Problem
- "Id":0
- "ArtistId":5
- "Price":5.99
- "Carts":[]
There are NO exceptions!