public void ExecuteStep(IParametersCollection currentParameters) { SaveCurrentParameters(currentParameters); var requestParameters = Sequence.GetParametersToSend(RequestStep); var request = GetExecuteRequest(requestParameters); LastExecutionResult = _serviceController.Execute(request); //only save non-calculated parameters Sequence.UpdateParametersCollection(LastExecutionResult.Parameters); Sequence.AddStep(RequestStep, LastExecutionResult); CurrentStep = RequestStep; }
public async Task <IExecutionResult> Execute([FromBody] IExecuteRequest executeRequest) { return(await _serviceController.Execute(executeRequest)); }