@{ ViewBag.Title = "wallpaper"; Layout = "~/Views/Shared/_AdminLayout.cshtml"; }

Wallpaper

This image is used as the background on every public page.

@if (TempData["ok"] != null) {
@TempData["ok"]
}
@using (Html.BeginForm("Wallpaper", "admin", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.AntiForgeryToken()
PNG, JPG, WEBP or GIF. You can also paste (Ctrl+V) an image directly.
} @using (Html.BeginForm("WallpaperReset", "admin", FormMethod.Post, new { onsubmit = "return confirm('Reset wallpaper to the default image?');" })) { @Html.AntiForgeryToken() }