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