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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -