private APIGatewayProxyResponse CreateResponse()

in saga-orchestration/InvokeOrchestratorLambda/src/InvokeOrchestratorLambda/Function.cs [59:75]


        private APIGatewayProxyResponse CreateResponse(HttpStatusCode httpStatusCode)
        {
            int statusCode = (int)httpStatusCode;
            
            var response = new APIGatewayProxyResponse
            {
                StatusCode = statusCode,
                Body = "Processed",
                Headers = new Dictionary<string, string>
                { 
                    { "Content-Type", "application/json" }, 
                    { "Access-Control-Allow-Origin", "*" } 
                }
            };
    
            return response;
        }