Exemplo n.º 1
0
        public async Task <IActionResult> GetCustomeByNationalIdAsync(string nationalId)
        {
            var customer = await _customerServices.GetCustomerByNationalIdAsync(nationalId);

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