An extension method for HtmlHelper to display error messages

Data annotations is used to validate user input.

The Controller class contains the Model State. If the Model State is not valid, the error messages are contained as dictionary, with the key corresponding to the name of the user