title: How To Render Correct View when Calling Post Action of Another Controller
body: <p>A Login Action on my AccountController uses the technique mentioned by <a href="https://stackoverflow.com/users/687190/" title="Ε Г И І И О">Ε Г И І И О</a> in <a href="https://stackoverflow.com/questions/5460681/redirect-to-post-method-action">Redirect to Post Method/Action</a> to post a "Login Successful" message to a Success Action of my StatusController:</p>
  
  <pre class="lang-cs prettyprint-override"><code>/// &lt;returns&gt;
  /// If login is successful, returns a view stating such.  If the
  /// login is not successful, the main Login view will be 
  /// redisplayed 
  /// &lt;/returns&gt;
  [HttpPost]
  public ActionResult Login(logIn loginAttempt)
  {
      logIn theLoginModel = new logIn();
  
      string username = loginAttempt.Username; 
      string password = loginAttempt.Password; 
      if (Membership.ValidateUser(username, password)) {     
         ...
  
         /* The login was successful.  Redirect to the LoginSucess
          * Action success */
         status theStatus = new status();
         theStatus.Message = Constants.StatusMsgs.LoginSuccess;
         StatusController SC = new StatusController();
         return SC.Success(theStatus);            
      } else {
         ...
         return View(theLoginModel);
      }                  
  }          
  </code></pre>
  
  <p>I can use the VS2010 debugger to verify that my Success Action gets the correct message in code fragment:</p>
  
  <pre class="lang-cs prettyprint-override"><code>namespace usedCarLotWebApp.Controllers
  {
     public class StatusController : Controller
     {
        /// &lt;summary&gt;
        /// Outputs a Success status message to the user
        /// &lt;/summary&gt;
        /// &lt;returns&gt;
        /// A trivial view to display a Success status message to the 
        /// user
        /// &lt;/returns&gt;
        [HttpPost]
        public ActionResult Success(status theMessage)
        {
           return View(viewName: "Success", model: theMessage);
        }
     }
  }
  </code></pre>
  
  <p>but when the Success Action of my Status Controller tries to render the view, it attempts to render a view from my AccountController Directory instead of my StatusController Directory as I would expect.</p>
  
  <p>Is there some way I can modify the Success Action of my StatusController so that it <em>always</em> tries to find a Success View in my StatusController Directory?</p>