public User GetCustomerById(string customerId) { try { User customer = repo.GetCustomerByIdAsync(customerId); Log.Information("Successfully retrieved customer by customer Id"); return(customer); } catch (Exception e) { Log.Information($"Failed to retrieve customer By customer Id - {e.Message}"); return(new User()); } }