@model WebApplication1.Models.user @{ ViewBag.Title = "Account managment"; }

Account managment

View and Edit account details

@using (Html.BeginForm()) { @Html.AntiForgeryToken()

user


Username
@Html.DisplayFor(model => model.usename)
Display Name
@Html.DisplayFor(model => model.displayname)
@Html.DisplayNameFor(model => model.role)
@ViewBag.role
@Html.ActionLink("edit account details", "Edit", null, new { @class = "btn btn-outline-dark" }) @Html.ActionLink("Logout", "LogOut", null, new { @class = "btn btn-outline-dark" })

@Html.ActionLink("Delete Account", "Delete", null, new { @class = "btn btn-outline-dark" })
}