Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model BAA_WEB.Models.LoginViewModel
- @{
- /**/
- ViewBag.Title = "Profil";
- Layout = "~/Views/Shared/_UserLayout.cshtml";
- }
- @*<p></p> If empty check?
- <p></p>
- @Model.user.UserId
- <td>@Model.user.FirstName</td>
- <td>@Model.user.LastName</td>
- <td></td>
- <td>@Model.user.Role.RoleName</td>
- @Model.user.UserId*@
- <div class="profileWrapper">
- <div class="profileContent">
- <img src="~/Content/img/avatar.png" />
- <h2>@Model.user.UserName's <span style="font-weight:100; color:gainsboro;">Profile</span></h2>
- <table class="table table-hover table-dark">
- <thead>
- <tr>
- <th scope="row">First Name</th>
- <td>@Model.user.FirstName</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th scope="row">Last Name</th>
- <td>@Model.user.LastName</td>
- </tr>
- <tr>
- <th scope="row">Role</th>
- <td>@Model.user.Role.RoleName</td>
- </tr>
- </tbody>
- </table>
- <div>
- @Html.ActionLink("Back to List", "Students")
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement