예제 #1
0
        public async Task <IActionResult> GetCustomer(int id)
        {
            _logger.LogInformation($"Customer get called with id :{id}");
            var customer = await _repository.GetCustomerAsync(id);

            return(Ok(customer));
        }