title: Calling another controller action after the current controller action has finished executing
body: <p>What I am trying to achieve:</p>
  
  <ol>
  <li><p>After <strong>each</strong> view has finished executing I would like to make a separate http call to an external partner.</p></li>
  <li><p>I need to pass one of the view's content as body of that http call.</p></li>
  </ol>
  
  <p>What I have so far:</p>
  
  <p>I have a base controller from which all of my controllers inherit from.  </p>
  
  <p>I have found that i can override the onActionExecuted() method of the base controller and write my partner http call code there so that it will be executed after each action.</p>
  
  <p>I have written a custom result after reading the article at <a href="https://stackoverflow.com/questions/520863/send-asp-net-mvc-action-result-inside-email">Send asp.net mvc action result inside email</a>. which enables me to grab the content of the view. (which is part of another controller that also inherits from base controller).</p>
  
  <p>What I can't figure out:</p>
  
  <ol>
  <li>How do I make a call to the controller action (the one that will render the content for the http calls body) to get the content in my base controller onActionExecuted() method?</li>
  </ol>
  
  <p>anil</p>