public async Task <CustomerIntegrationResult> Integrate(CustomerIntegrationRequest request)
        {
            using var channel = GrpcChannel.ForAddress("https://localhost:5001");
            var client = new IntegrateCustomer.IntegrateCustomerClient(channel);
            var reply  = await client.IntegrateCustomerDataAsync(request);

            return(reply);
        }
        public override Task <CustomerIntegrationResult> IntegrateCustomerData(CustomerIntegrationRequest request,
                                                                               ServerCallContext context)
        {
            // Write here your implementation to integrate customer

            this._logger.LogInformation(@$ "===== Customer with identifier '{request.Id}' and name '{request.Name}' was integrated. =====");

            return(Task.FromResult(new CustomerIntegrationResult {
                Succeeded = true
            }));
        }