This commit is contained in:
Michael 2017-03-23 18:13:09 -04:00
parent 4a9eb8d0ae
commit 843824bb59

View file

@ -14,9 +14,9 @@
</head>
@{
string style = "";
if(ViewBag.Model != null)
if(ViewBag.Banner != null)
{
style = "background-image: url(\"" + ViewBag.Model + "\") cover;";
style = "background-image: url(\"" + ViewBag.Banner + "\") cover;";
}
}
<body style="@style">