public static void Execute(CreateAndUpdateProductParameters parameters) { PrepareParameters(parameters); string CreateProductOutput; { // Local block to allow local naming var operationReturnValue = CreateProduct.Execute(); CreateProductOutput = CreateAndUpdateProductImplementation.CreateProduct_GetOutput(operationReturnValue); } // Local block closing { // Local block to allow local naming UpdateProductParameters operationParameters = CreateAndUpdateProductImplementation.UpdateProduct_GetParameters(parameters.Title, parameters.Excerpt, parameters.Description, CreateProductOutput); var operationReturnValue = UpdateProduct.Execute(operationParameters); } // Local block closing }
private static void PrepareParameters(CreateAndUpdateProductParameters parameters) { }