HDoc PostExampleFormView(ZooModel model) { return (MasterPage("Hey", new[] { H.p("You posted the following values: "), H.p(model.Giraffe), H.p(model.Elephant), H.A("/", "Back Home") })); }
HDoc ExampleForm(ZooModel model) { return MasterPage ("Form Example", new[] { H.p("Form entry: "), StandardForm(() => PostExampleForm(null), null, new[] { new TextInput (() => model.Giraffe), new TextInput (() => model.Elephant) } ) } ); }
HDoc ExampleForm(ZooModel model) { return (MasterPage("Form Example", new[] { H.p("Form entry: "), StandardForm(() => PostExampleForm(null), null, new[] { new TextInput(() => model.Giraffe), new TextInput(() => model.Elephant) } ) } )); }
HDoc PostExampleFormView(ZooModel model) { return MasterPage ("Hey", new[] { H.p("You posted the following values: "), H.p(model.Giraffe), H.p(model.Elephant), H.A("/", "Back Home") }); }
public ActionResult PostExampleForm(ZooModel model) { return Content ("" + PostExampleFormView (model)); }
public ActionResult PostExampleForm(ZooModel model) { return(Content("" + PostExampleFormView(model))); }