I have an update action in a controller that performs an UpdateModel. Before I pass the data back to the view I want to log the properties that failed to validate.
I expected the dictionary where the errors are stored to be in the ModelState (since the method AddModelError() is there) but this doesn't seem to be the case. How can I access this dictionary while still in the controller?