public async Task <IActionResult> ApproveProfile(string id) { var result = await _approvalRepository.ApproveProfileAsync(id, _userManager.GetUserName(User)); return(RedirectToAction(nameof(Profile))); }