Spaghetti Tom
Saturday, September 24, 2016
get your exceptions in your MVC actions to end up as yet another validation fail at @Html.ValidationSummary() in your views
catch (Exception ex)
{
ModelState.AddModelError("Exception", ex.Message);
return View(whatever);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment