Tagged Questions
4
votes
1answer
137 views
Use model for “everything” in MVC?
This question is a result out of the discussion HERE and was moved from HERE.
Is it really good practice to supply EVERY value you display in any view via a model?
Especially variables like the ...
2
votes
2answers
642 views
MVC : Does Code to save data in cache or session belongs in controller?
I'm a bit confused if saving the information to session code below, belongs in the controller action as shown below or should it be part of my Model?
I would add that I have other controller methods ...