title: In MVC, is there a way to reliably pause execution for X number of seconds in a controller?
body: <p>I am using ASP.NET MVC5 with C#.  I have a form, and after the user fills out the form and clicks Save, I have a <code>RedirectToAction("ThankYou")</code> - which sends them to a "Thank you" page.  This is where I want to pause execution for say, 1500 ms.  So, the "ThankYou" view will remain on the screen for 1500 milliseconds, then I want to further redirect them back to the form.  Here's my View code - very plain, simple, and vanilla:</p>
  
  <pre><code>public ActionResult ThankYou()
  {
      return View();
  }
  </code></pre>
  
  <p>What I want to do is something like:</p>
  
  <pre><code>public ActionResult ThankYou()
  {
      // pause execution for 1500 milliseconds
      return RedirectToAction("Create");
  }
  </code></pre>
  
  <p>What's the best way to accomplish this, whether it be the way I was thinking or something else?</p>