Skip to content

Instantly share code, notes, and snippets.

@mcintyre321
Created August 14, 2013 12:31
Show Gist options
  • Save mcintyre321/6230628 to your computer and use it in GitHub Desktop.
Save mcintyre321/6230628 to your computer and use it in GitHub Desktop.

Revisions

  1. mcintyre321 created this gist Aug 14, 2013.
    7 changes: 7 additions & 0 deletions gistfile1.cs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    public class IndexView : CodeView<IndexViewModel>
    {
    protected override void Render(CQ doc, IndexViewModel model, ViewContext viewContext)
    {
    doc["body"].Append("<div>" + viewContext.ViewBag.Message + "</div>");
    }
    }