11.1.4.5 Displaying a Confirmation Message; Listing 11-12. Handling the ViewBag Message in the _AdminLayout.cshtml
Fil
This commit is contained in:
parent
c0b4f638f9
commit
9afd2e2cfd
@ -14,6 +14,10 @@
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
@if (TempData["message"] != null)
|
||||
{
|
||||
<div class="alert alert-success">@TempData["message"]</div>
|
||||
}
|
||||
@RenderBody()
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user