public static ExecutionResponse CreateAsStatus <T>(T content, ActionOutcome actionOutcome, Dictionary <string, object> additionalData) { return(new ExecutionResponse() { GetContent = content, ActionOutcomeCode = actionOutcome, AdditionalData = additionalData, }); }
protected ExecutionResponse Status(ActionOutcome actionOutcome, TResponse content = null, Dictionary <string, object> additionalData = null) { return(ExecutionResponse.CreateAsStatus(content, actionOutcome, additionalData)); }