Esempio n. 1
0
        public async Task <IActionResult> GetCustomeByUserIdAsync(string userId)
        {
            var customer = await _customerServices.GetCustomerByUserIdAsync(userId);

            if (customer != null)
            {
                return(Ok(customer));
            }
            return(Ok());
        }