Ejemplo n.º 1
0
        public async Task <IActionResult> CreateOrEditAddress(CreateOrEditAddressViewModel input)
        {
            string userEmail = _httpContextAccessor.HttpContext.User.FindFirstValue(ClaimTypes.NameIdentifier);
            var    result    = await _userApplicationService.CreateOrEditAddress(userEmail, input);

            return(Ok(result));
        }