I don't know how i should write ViewModel exactly. In same view I need to do read, update and create. In first, I thought it won't be a big deal, but now, it seems it is. (asp.net MVC 3)
I have: object1, object2 and object3
object1 is just to be read in [HttpGet]
object2 is created in [httpPost]
object3 is updated in [httpPost]
For update I don't have anything to bind to model, so I need a local variable to make this work.
How do I implement helper variable just for saving what user selected from dropdown so I can save object2 and object3 correctly?