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