Esempio n. 1
0
        /// <summary>
        /// - Shows user information
        /// </summary>
        /// <returns>View user details</returns>

        public ActionResult UserInformation()
        {
            // get user info
            var model = _adminService.GetUserDetailsForUpdate(_adminService.GetUserIdForEditing());

            if (model == null)
            {
                return(Redirect(Url.ProcessPreviousStep()));
            }
            model.LevelsOfAccess = _userService.GetUserLevelsOfAccess();
            ViewBag.IsCallCenter = _storeService.IsCallCenter();
            return(View(model));
        }