In this second part on TDD for ASP.NET MVC, Eric Vogel covers how to implement unit tests for the remaining CRUD controller actions. Last time I wrote about test-driven development for ASP.NET MVC.
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.