Posts by Emerson Paiva • 36 points
1 post
-
2
votes1
answer85
viewsA: Viewbag does not receive the value correctly
In the view you’re calling @ViewBag.Messagem and in Controller the value is being assigned to ViewBag.Mensagem. Try placing a breakpoint in the view’s Viewbag call to see what value is appearing…