Exemplo n.º 1
0
 public void ExecuteResult(ref ActionContext context)
 {
     Debug.Assert(false);
     JsonRpcSerializer.SerializeErrorResponse(context.ResponseBuffer, DefaultStatusCode, "Invalid Request", context.Id);
 }
Exemplo n.º 2
0
 public void ExecuteResult(ref ActionContext context)
 {
     JsonRpcSerializer.SerializeErrorResponse(context.ResponseBuffer, StatusCode.MethodNotFound, "Method not found", context.Id);
 }