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