The controller handles incoming requests and puts any data the client needs into a component called a model. When the controller's work is done, the model is passed to a view component for rendering.
How to unit test view model validation, focusing on the controller when the model is bound to a controller action. Welcome to part 4 in the TDD for ASP.NET MVC series. This time, I'll cover how to ...