title: Custom Attribute above a controller function
body: <p>I want to put <code>[FirstTime]</code> attribute above a controller function and then create a <code>FirstTimeAttribute</code> that has some logic that checks whether the user has entered his name, and redirects him to <code>/Home/FirstTime</code> if he hasn't.</p>
  
  <p>So Instead of doing:</p>
  
  <pre><code>public ActionResult Index()
  {
      // Some major logic here
      if (...)
          return RedirectToAction("FirstTime", "Home");
  
      return View();
  }
  </code></pre>
  
  <p>I would just do:</p>
  
  <pre><code>[FirstTime]
  public ActionResult Index()
  {
      return View();
  }
  </code></pre>
  
  <p>Is this possible?</p>