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

            return(RedirectToAction(nameof(Profile)));
        }