Example #1
0
        public async Task <IActionResult> GetCustomeByIdAsync(int customerId)
        {
            var customer = await _customerServices.GetCustomerBydIdAsync(customerId);

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