public ActionResult UniversityAdmins() { var model = new List <UserViewModel>(); var universityAdmins = _adminBusinessLogic.GetUsersListByRole(UserRoles.UniversityAdmin); model.AddRange(universityAdmins.Select(x => new UserViewModel() { Email = x.Email, FirstName = x.FirstName, LastName = x.LastName, PersonalCode = x.PersonalIdCode, Telephone = x.PhoneNumber, UniversityId = x.UniversityId, Username = x.UserName, Birthday = x.Birthday, StudentId = x.StudentId, RoleName = "University administrator", UserId = x.Id })); return(View(model)); }