HttpPost Function Traitement(model As TraitementViewModel) As ActionResult Dim exception As Exception = Nothing ... Catch ex As Exception Exception = ex End Try If (exception IsNot Nothing) Then Return PartialView("Errors", Statics.GetErreursForException(exception)) End If End Function
<pre>@ModelType IEnumerable(Of String) <div> <hr /> <h2>Les erreurs suivantes se sont produites</h2> <ul> @code For Each msg As String In Model @<li> @msg </li> Next End Code </ul> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)