Пример #1
0
        public async Task <IActionResult> CustomerAccount()
        {
            var user = await _userManager.FindByNameAsync(User.Identity.Name);

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