コード例 #1
0
 protected ExecutionResponse Ok(TResponse content, Dictionary <string, object> additionalData = null)
 {
     return(ExecutionResponse.CreateAsOK(content, additionalData));
 }
コード例 #2
0
 protected ExecutionResponse Status(ActionOutcome actionOutcome, TResponse content = null, Dictionary <string, object> additionalData = null)
 {
     return(ExecutionResponse.CreateAsStatus(content, actionOutcome, additionalData));
 }
コード例 #3
0
 protected ExecutionResponse NoContent()
 {
     return(ExecutionResponse.CreateAsNoContent());
 }
コード例 #4
0
 protected ExecutionResponse NotFound(TResponse content = null)
 {
     return(ExecutionResponse.CreateAsNotFound(content));
 }
コード例 #5
0
 protected ExecutionResponse BadRequest <T>(T content = default(T))
 {
     return(ExecutionResponse.CreateAsBadRequest(content));
 }
コード例 #6
0
 protected ExecutionResponse PreconditionFailed(TResponse content = null)
 {
     return(ExecutionResponse.CreateAsPreconditionFailed(content));
 }