title: How to modify ASP MVC default view name associated to a controller action method?
body: <p>I would like to modify the ASP MVC default view name associated to a controller action method.</p>
  
  <p>Here is my Controller</p>
  
  <pre><code>public class HomeController : Controller
  {
      public ActionResult Index()
      {
          return View();
      }
  }
  </code></pre>
  
  <p>As the View() method called without viewName parameter the MVC framwork will look for the view Views/Home/Index.cshtml (and similars) </p>
  
  <p>What I would like to achieve is to look for Views/ThemeA/Home/Index.cshtml or Views/ThemeB/Home/Index.cshtml depending on a global setting.</p>
  
  <p>Please do not recommend me to pass the view name as parameter. The whole point is to be transparent to the Controllers.</p>
  
  <p>Thx in advance</p>