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 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.

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 session .store (value); ?

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -