title: In ASP.NET MVC controller, can I get the view result by calling an action on a different controller
body: <p>I tried to simply new up a different controller and then calling the action method. The return value is of type ViewResult and the model was created, but the View is null. I guess the context in which the runtime tries to find the correct view is wrong.</p>
  
  <p>How can I achieve this?</p>
  
  <p>Background</p>
  
  <p>Trying to see if a template controller can use a view to both render HTML e-mail to the browser as well as render to a string to be appended to the body of an MailMessage object. The second scenario will happen in a different controller, hence the problem that calling the template controller's action does not resolve the view.</p>
  
  <p>This may be similar to a unit test environment where you want to check if the view result contains the content you expected.</p>
  
  <p>Thanks!</p>