title: How to make use of Viewbag in my View
body: <p>I dont understand, I have my in my Controller:</p>
  
  <pre><code>[HttpGet]
  public ActionResult Detail(int userId)
  {
    var user = ZincService.GetUserForId(userId);
    if (user != null)
    { 
        ViewBag.user = userId;
        ViewBag.email = user.Email;
        ViewBag.title = user.JobTitle;
        ViewBag.node = user.Node;
    }
    return View(user);
  }
  </code></pre>
  
  <p>then my view, Detail.aspx</p>
  
  <pre><code>&lt;div id="user-details-view"&gt;
  &lt;div&gt;
    Title:
  &lt;/div&gt;
  &lt;div&gt;
     &lt;%: Model.JobTitle %&gt;
     &lt;%: Model.News %&gt;
     &lt;%: Model.Node %&gt;
  &lt;/div&gt;
  &lt;div&gt;
     &lt;%: Html.ActionLink("Change Email Address", "ChangeEmailAddress", new { @id = Model.UserId })%&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>when I run my app i get an error:</p>
  
  <p>The resource cannot be found. 
  Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly. </p>
  
  <p>Requested URL: /Areas/Admin/Views/User/Detail.aspx</p>
  
  <p>I dont understand? Is it because of syntax errors?</p>