title: Two views for one controller
body: <p>I currently have a view page that lists users as a gallery with their image but i also want to create a view page that lists the users by name. I want to use one controller for both of them and i created a <code>ListView</code> page and in the orginial <code>View</code> page which shows users by image - I have a link to view the <code>ListView</code> page. I tried clicking on the link but the page is not showing up. Here is what i have: </p>
  
  <p><strong>Image view page</strong></p>
  
  <pre><code> &lt;h2&gt;Users&lt;/h2&gt;
  &lt;div&gt;
      &lt;a href="~/Views/Users/ListView"&gt;Click Here for List view&lt;/a&gt;
  &lt;/div&gt;
  
  &lt;section id="Images"&gt;
      &lt;section id="users" data-bind="foreach: Users"&gt;
          &lt;div id="nameImage"&gt;
              &lt;figure id="content"&gt;
                  &lt;img width="158" height="158" alt="Gravatar" data-bind="attr:{src: GravatarUrl}"/&gt;
                  &lt;figcaption&gt;
                     ...
                  &lt;/figcaption&gt;
              &lt;/figure&gt;
              &lt;p data-bind="text:Name"&gt;&lt;/p&gt;
          &lt;/div&gt;
      &lt;/section&gt;
  &lt;/section&gt;
  
  
  @section scripts{
  @Scripts.Render("~/bundles/user" + ViewBag.Layout.AppVersionForUrls)
  
  &lt;script type="text/javascript"&gt;
      (function ($) {
          $.views.User.GetUser('@url');
      })(jQuery);
  &lt;/script&gt;
  }
  </code></pre>
  
  <p><strong>List view page</strong></p>
  
  <pre><code>&lt;div class="accordion-inner"&gt;
  &lt;div data-bind="foreach: Users"&gt;
      &lt;div&gt;
          &lt;img width="158" height="158" alt="Gravatar" data-bind="attr:{src: GravatarUrl}"/&gt;
          &lt;p data-bind="text:Name"&gt;&lt;/p&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code> @section scripts{
      @Scripts.Render("~/bundles/user" + ViewBag.Layout.AppVersionForUrls)
  
      &lt;script type="text/javascript"&gt;
          (function ($) {
              $.views.User.GetUser('@url');
          })(jQuery);
      &lt;/script&gt;
      }
  </code></pre>
  
  <p><strong>Controller</strong></p>
  
  <pre><code>public ActionResult View(int id)
  {
      // get the menu from the cache, by Id
      ViewBag.SideBarMenu = SideMenuManager.GetRootMenu(id);
      ViewBag.UserApiURL = "/api/User/" + id.ToString();
      return View(); 
  }
  
  public ActionResult ListView(int id)
  {
      // get the menu from the cache, by Id
      ViewBag.SideBarMenu = SideMenuManager.GetRootMenu(id);
      ViewBag.RosterApiURL = "/api/User/ListView" + id.ToString();
      return View();
  }
  </code></pre>