Ejemplo n.º 1
0
        public ActionResult MadLib1(string name, string place, string season, string exclamation)
        {
            MadLibModels myStory = new MadLibModels();

            myStory.SetName(name);
            myStory.SetPlace(place);
            myStory.SetSeason(season);
            myStory.SetExclamation(exclamation);

            return(View(myStory));
        }
Ejemplo n.º 2
0
        public ActionResult MadLib2(string name, string adjective, string exclamation, string season)
        {
            MadLibModels secondStory = new MadLibModels();

            secondStory.SetName(name);
            secondStory.SetAdjective(adjective);
            secondStory.SetExclamation(exclamation);
            secondStory.SetSeason(season);

            return(View(secondStory));
        }