private IEnumerable <SelectListItem> GetUsers() { var users = _userQueryService.GetAllActiveUsers().ToArray(); return(users.Select(x => new SelectListItem { Value = x.UserId.ToString(), Text = x.Email })); }