asp.net mvc - Update object on PUT request using web api -
In my Web API, the PUT request forces the data to be used using an interface like this I am using RavenDB so that the value does not directly work in the document collection because the post object is not connected to the current session. Marcus, Why you just can not call keep the public null ([FromBody] IPage value) , it works great but what is the best way to update the object and bring it back to my storage? Note that I am using an interface here and posted correctly within the json using the
$ type attribute.
session .store (value); ?
Comments
Post a Comment