@if (TempData.ContainsKey("StatusMessage"))
{
    <p class="center-content alert @Html.Raw(TempData["StatusMessage-Type"])">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        @Html.Raw(TempData["StatusMessage"])
    </p>
}
else if (ViewBag.StatusMessage != null)
{
    <p class="center-content alert">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        @ViewBag.StatusMessage
    </p>
}
