title: Role based controller access
body: <p>I'm to new asp.net and asp.net MVC. I'm trying to show a user a page depending on the role his in.</p>
  
  <pre><code>public class HomeController : Controller
  {
      [Authorize(Roles = "Reviewer")]
      public ActionResult Index()
      {
          ViewBag.Title = "Reviwer";
          return View();
      }
  
      [Authorize(Roles="User")]
      public ActionResult Index()
      {
          return View();
      }
  }
  </code></pre>
  
  <p>My code is the one above, it makes perfect sense that it won't compile like this i can't cave two idendical methods with the same name. But can someone please point me in the right direction. How am i supposed to show the user o different page based on his role.</p>