title: Display a list of a model in a razor view using NancyFx
body: <p>I'm having trouble just displaying a List with NancyFx. The issue seems to be something pretty basic I'm missing or perhaps the framework has changed from the examples?</p>
  
  <p>My Module looks like this:</p>
  
  <pre><code>public IndexModule()
  {
      Get["/"] = parameters =&gt;
      {
          dynamic d = new BlogPost();
          return View["index", d];
      };
      Post["/"] = paramters =&gt;
      {
          IEnumerable&lt;BlogPost&gt; result = new List&lt;BlogPost&gt;()
          {
             new BlogPost { Id = 3 },
             new BlogPost { Id = 5 }
          };
          return View["index", result];
      };
  }
  </code></pre>
  
  <p>My cshtml:</p>
  
  <pre><code>{
           @foreach (var item in Model) 
           {
                    &lt;tbody&gt;
                          &lt;tr&gt;
                              &lt;td&gt;
                                  @item.Id
                              &lt;/td&gt;
                          &lt;/tr&gt;
                    &lt;/tbody&gt;
           }
  }
  </code></pre>
  
  <p>Inside the .cshtml I tried each separately, they didn't work:</p>
  
  <pre><code>@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase&lt;NancyApplication.Objects.BlogPost&gt;
  @model System.Collections.Generic.IEnumerable&lt;NancyApplication.Objects.BlogPost&gt;
  </code></pre>
  
  <p>Oddly I don't get errors! I Just get a blank page with no html generated at all!</p>