示例#1
0
        public IActionResult Get()
        {
            var claims = HttpContext.User.Claims.ReadClaims();
            var user   = _userRepository.GetOrCreateUserByEmail(claims);

            return(new OkObjectResult(UserDto.FromDal(user)));
        }