@using Microsoft.AspNet.Identity @model Project_Unite.Models.Role @{ ViewBag.Title = "Details for " + Model.Name; }
ID: @Model.Id
Description:
@Model.Description
Priority: @Model.Priority
Below is a list of users in this role.
| User | Actions |
|---|---|
| @Html.UserLink(user.UserId) | @if(User.Identity.GetUserId() != user.UserId) { @Html.ActionLink("Remove", "RemoveUserFromRole", "Admin", new { id = user.RoleId, usr = user.UserId}, new { @class="btn btn-danger"}) } @Html.ActionLink("User details", "UserDetails", "Moderator", new { id = user.UserId }, new { @class = "btn btn-default" }) |