@model UsersViewModel @{ ViewData.SetActivePageAndTitle(ServerNavPages.Users); }
Total Users: @Model.Total Add User
@foreach (var user in Model.Users) { }
Email Actions
@user.Email Edit - Remove
@{ string listUsers(int prevNext, int count) { var skip = Model.Skip; if (prevNext == -1) { skip = Math.Max(0, Model.Skip - Model.Count); } else if (prevNext == 1) { skip = Model.Skip + count; } var act = Url.Action("ListUsers", new { skip = skip, count = count, }); return act; } }