/// <summary>
        ///     Show user list.
        /// </summary>
        /// <returns>User list.</returns>
        public ActionResult UserList(int?page)
        {
            var allUsers = service.GetAll();
            var model    = new UserEditorModel {
                Users = allUsers.ToPagedList(page.HasValue ? page.Value : 1, UsersPerPage), CurrentUser = allUsers.FirstOrDefault()
            };

            return(View(model));
        }
 /// <summary>
 ///     Show user list.
 /// </summary>
 /// <returns>User list.</returns>
 public ActionResult UserList(int? page)
 {
     var allUsers = service.GetAll();
     var model = new UserEditorModel { Users = allUsers.ToPagedList(page.HasValue ? page.Value : 1, UsersPerPage), CurrentUser = allUsers.FirstOrDefault() };
     return View(model);
 }