예제 #1
0
        public IActionResult Profile(string id)
        {
            User pUser = lIUserRepository.getUser(id);


            if (pUser != null)
            {
                UserViewModelNPINotRequired _user = UserExtension.UserToUserViewModelNPINotRequired(pUser);
                ViewBag.Name = _user.Name;
                return(View(_user));
            }
            else
            {
                return(View(null));
            }
        }