コード例 #1
0
        public async Task <IActionResult> ApproveCustomerAccount(string id)
        {
            var result = await _approvalRepository.ApproveCustomerAccountAsync(id, _userManager.GetUserName(User));

            return(RedirectToAction(nameof(CustomerAccount)));
        }