コード例 #1
0
        public IActionResult GetPhoneNumber()
        {
            var userEmail = User.Claims.FirstOrDefault(c => c.Type == ClaimTypes.Email).Value;

            return(Ok(_korisnikService.GetPhoneNumber(userEmail)));
        }