コード例 #1
0
        public async Task <IActionResult> GetCurrentUserForUpdate()
        {
            var userId = _httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value;
            var user   = await _accountAppService.GetUserByIdForUpdate(userId);

            return(Ok(user));
        }