Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.40 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. using FubuMVC.Core;
  2. using HtmlTags;
  3.  
  4. namespace FubuMVC.HelloSpark.Controllers.HtmlTager
  5. {
  6.     public class TagController
  7.     {
  8.         [FubuPartial]
  9.         public SparkHtmlTag Go(GoRequest request)
  10.         {
  11.             var tag = new HtmlTag("h3").Text("I am a go request result tag goodness.");
  12.             return new SparkHtmlTag { Tag = tag };
  13.         }
  14.     }
  15.  
  16.     public class GoRequest
  17.     {
  18.     }
  19. }