public async Task <IActionResult> GetCurrentUserForUpdate() { var userId = _httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value; var user = await _accountAppService.GetUserByIdForUpdate(userId); return(Ok(user)); }
public async Task <IActionResult> GetCurrentUserForUpdate() { var userId = _httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value; var user = await _accountAppService.GetUserByIdForUpdate(userId); return(Ok(user)); }