@using atakanozbancom.Models.classes @model List @{ ViewBag.Title = "affiliatelinks"; Layout = "~/Views/Shared/_AdminLayout.cshtml"; }

Affiliate Links

@if (TempData["ok"] != null) {
@TempData["ok"]
} @foreach (var x in Model) { } @if (!Model.Any()) { }
Logo Title Description URL Order Edit Delete
@x.title @x.title @x.description @x.url @x.sort_order Edit @using (Html.BeginForm("affiliatelinkdelete", "admin", new { id = x.id }, FormMethod.Post, new { onsubmit = "return confirm('Delete this affiliate link?');" })) { @Html.AntiForgeryToken() }
No affiliate links yet.
Create New Affiliate Link