title: Throw exception to rollback and redirect to another action at the same time
body: <p>I am attempting to redirect an action to another one when an exception occurs. In addition, I want to rollback 
   all changes at the same time. Rollbacking data is done by throwing an exception but when we throw an exception, the redirect is not working. (I use a framework (ABP) that handles rollback automatically when an exception is thrown, so there is no "BeginTransaction" and "Commit" etc. in my code.)</p>
  
  <p>When the code runs, it just rollback changes to data and show exception but not redirect.</p>
  
  <pre><code>[HttpPost]
  public async Task&lt;ActionResult&gt; action1()
  {
      var exception=false;
  
      try
      {
          await method1();
  
          return RedirectToAction("Success", "Result");
      }
      catch (Exception e)
      {
          exception = true;
          return RedirectToAction("ShowError", "Result");
      }
      finally
      {
          if (exception == true)
              throw new Exception("1000"); 
      }
  }
  
  public async Task&lt;ActionResult&gt; method1()
  {
      // Some changes on database
  }
  </code></pre>