Ejemplo n.º 1
0
        public async Task <IActionResult> Profile()
        {
            var user = await _userManager.FindByNameAsync(User.Identity.Name);

            if (user != null)
            {
                var pendingProfile = _approvalRepository.GetPendingProfile(user.UserName);
                //var model = new SystemUserDetailsViewModel { StatusMessage = StatusMessage };
                return(View(pendingProfile));
            }
            return(View());
        }