Quantcast
Channel: Comments on: Models for a view (some objects are more equal than others)
Browsing latest articles
Browse All 7 View Live

By: Nick

On the right tracks with not posting domain entities. I don’t believe you want that logic in the controller and I’m certain you want to avoid TryUpdateModel – which isn’t good for testing. Have a look...

View Article



By: JJ

I agree with Nick, the controller has too much responsibility.  The decision whether to update or create should be made further down the stack.

View Article

By: Steve Py

One of the focal points I have with MVVM is that my view-model may be aware of the model, but the view never binds directly to a model. The main reason for this is so that the VM is responsible for...

View Article

By: Derek Woolverton

Just for my understanding, did you mean TryUpdateModel(patient); or TryUpdateModel(form);  Just trying to follow where form routes to.

View Article

Image may be NSFW.
Clik here to view.

By: Anonymous

I meant as I wrote it Any post with an idPatient in the form values will route to this action. TryUpdateModel will update the patient (coming from the repository) with matching fields in the form field...

View Article


Image may be NSFW.
Clik here to view.

By: Miniscalope

Really nice but i have this dillema after reading your post

View Article

By: key logger download

This Is Very interesting .. thanks for sharing this post

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images