public HomeModule() { Get["/form"] = _ => { return(View["form.cshtml"]); }; Get["/story"] = _ => { StoryVariables myStoryVariables = new StoryVariables(); myStoryVariables.SetPerson1(Request.Query["person1"]); myStoryVariables.SetPerson2(Request.Query["person2"]); myStoryVariables.SetAnimal(Request.Query["animal"]); myStoryVariables.SetExclamation(Request.Query["exclamation"]); myStoryVariables.SetVerb(Request.Query["verb"]); myStoryVariables.SetNoun(Request.Query["noun"]); myStoryVariables.SetPlace(Request.Query["place"]); myStoryVariables.SetFood(Request.Query["food"]); return(View["story.cshtml", myStoryVariables]); }; }