Example #1
0
        public ActionResult MadlibOne(string adjectiveOne, string adjectiveTwo, string nounOne, string nounTwo, string pluralNounOne, string gameOne, string pluralNounTwo, string verbIngOne, string verbIngTwo,
                                      string pluralNounThree, string verbIngThree, string nounThree, string plantOne, string bodyPart, string placeOne, string verbIngFour, string adjectiveThree, string numberOne, string pluralNounFour)

        {
            MadlibVariable myMadlibVariable = new MadlibVariable();

            myMadlibVariable.SetAdjectiveOne(adjectiveOne);
            myMadlibVariable.SetAdjectiveTwo(adjectiveTwo);
            myMadlibVariable.SetNounOne(nounOne);
            myMadlibVariable.SetNounTwo(nounTwo);
            myMadlibVariable.SetPluralNounOne(pluralNounOne);
            myMadlibVariable.SetGameOne(gameOne);
            myMadlibVariable.SetPluralNounTwo(pluralNounTwo);
            myMadlibVariable.SetVerbIngOne(verbIngOne);
            myMadlibVariable.SetVerbIngTwo(verbIngTwo);
            myMadlibVariable.SetPluralNounThree(pluralNounThree);
            myMadlibVariable.SetVerbIngThree(verbIngThree);
            myMadlibVariable.SetNounThree(nounThree);
            myMadlibVariable.SetPlantOne(plantOne);
            myMadlibVariable.SetBodyPart(bodyPart);
            myMadlibVariable.SetPlaceOne(placeOne);
            myMadlibVariable.SetVerbIngFour(verbIngFour);
            myMadlibVariable.SetAdjectiveThree(adjectiveThree);
            myMadlibVariable.SetNumberOne(numberOne);
            myMadlibVariable.SetPluralNounFour(pluralNounFour);
            return(View(myMadlibVariable));
        }
Example #2
0
        public ActionResult MadlibTwo(string name, string nameTwo, string animal, string adjective, string exclamation)
        {
            MadlibVariable myMadlibVariableTwo = new MadlibVariable();

            myMadlibVariableTwo.SetName(name);
            myMadlibVariableTwo.SetNameTwo(nameTwo);
            myMadlibVariableTwo.SetAnimal(animal);
            myMadlibVariableTwo.SetAdjective(adjective);
            myMadlibVariableTwo.SetExclamation(exclamation);
            return(View(myMadlibVariableTwo));
        }
Example #3
0
        public ActionResult MadlibCard(string reader, string suspect, string item1, string item2, string victim1, string day)
        {
            MadlibVariable myMadlibVariable = new MadlibVariable();

            myMadlibVariable.Reader  = reader;
            myMadlibVariable.Suspect = suspect;
            myMadlibVariable.Item1   = item1;
            myMadlibVariable.Item2   = item2;
            myMadlibVariable.Victim1 = victim1;
            myMadlibVariable.Day     = day;
            return(View(myMadlibVariable));
        }
        public ActionResult MadlibDisplay(string noun, string pluralNoun, string presentTenseVerb, string anotherPresentTenseVerb, string partOfBodyPlural, string adjective, string anotherPluralNoun, string anotherAdjective)
        {
            MadlibVariable madlibOutput = new MadlibVariable();

            madlibOutput.Noun                    = noun;
            madlibOutput.PluralNoun              = pluralNoun;
            madlibOutput.PresentTenseVerb        = presentTenseVerb;
            madlibOutput.AnotherPresentTenseVerb = anotherPresentTenseVerb;
            madlibOutput.PartOfBodyPlural        = partOfBodyPlural;
            madlibOutput.Adjective               = adjective;
            madlibOutput.AnotherPluralNoun       = anotherPluralNoun;
            madlibOutput.AnotherAdjective        = anotherAdjective;
            return(View(madlibOutput));
        }
Example #5
0
        public ActionResult MyMadlib()
        {
            MadlibVariable myMadLibVariable = new MadlibVariable();

            myMadLibVariable.SetPersonOne(Request.Query["person-one"]);
            myMadLibVariable.SetPersonTwo(Request.Query["person-two"]);
            myMadLibVariable.SetPlaceOne(Request.Query["place-one"]);
            myMadLibVariable.SetPlaceTwo(Request.Query["place-two"]);
            myMadLibVariable.SetObject(Request.Query["object-one"]);
            myMadLibVariable.SetAnimal(Request.Query["animal-one"]);
            myMadLibVariable.SetExclamation(Request.Query["exclamation-one"]);
            myMadLibVariable.SetActivity(Request.Query["activity-one"]);
            return(View("MyMadlib", myMadLibVariable));
        }
        public ActionResult MadLib(string verb, string pluralnoun, string adjective, string food, string noun, string exclamation, string name, string verbreaction, string location)
        {
            MadlibVariable madLib = new MadlibVariable();

            madLib.Verb         = verb;
            madLib.PluralNoun   = pluralnoun;
            madLib.Adjective    = adjective;
            madLib.Food         = food;
            madLib.Noun         = noun;
            madLib.Exclamation  = exclamation;
            madLib.Name         = name;
            madLib.VerbReaction = verbreaction;
            madLib.Location     = location;
            return(View(madLib));
        }
Example #7
0
        public ActionResult Madlib(string number, string adjectiveOne, string nounOne, string nounTwo, string adjectiveTwo, string adjectiveThree, string pluralNounOne, string pluralNounTwo, string nounThree, string verb)
        {
            MadlibVariable myMadlibVariable = new MadlibVariable();

            myMadlibVariable.Number         = number;
            myMadlibVariable.AdjectiveOne   = adjectiveOne;
            myMadlibVariable.NounOne        = nounOne;
            myMadlibVariable.NounTwo        = nounTwo;
            myMadlibVariable.AdjectiveTwo   = adjectiveTwo;
            myMadlibVariable.AdjectiveThree = adjectiveThree;
            myMadlibVariable.PluralNounOne  = pluralNounOne;
            myMadlibVariable.PluralNounTwo  = pluralNounTwo;
            myMadlibVariable.NounThree      = nounThree;
            myMadlibVariable.Verb           = verb;

            return(View(myMadlibVariable));
        }
Example #8
0
        public ActionResult Madlibs(string adj1, string adj2, string adj3, string adj4,
                                    string adj5, string adj6, string adj7, string adj8, string noun1, string noun2, string verb1,
                                    string object1, string bodypart1, string bodypart2)
        {
            MadlibVariable myMadlibVar = new MadlibVariable();

            myMadlibVar.SetAdj1(adj1);
            myMadlibVar.SetAdj2(adj2);
            myMadlibVar.SetAdj3(adj3);
            myMadlibVar.SetAdj4(adj4);
            myMadlibVar.SetAdj5(adj5);
            myMadlibVar.SetAdj6(adj6);
            myMadlibVar.SetAdj7(adj7);
            myMadlibVar.SetAdj8(adj8);
            myMadlibVar.SetNoun1(noun1);
            myMadlibVar.SetNoun2(noun2);
            myMadlibVar.SetVerb1(verb1);
            myMadlibVar.SetObject1(object1);
            myMadlibVar.SetBodyPart1(bodypart1);
            myMadlibVar.SetBodyPart2(bodypart2);
            return(View(myMadlibVar));
        }
Example #9
0
        public ActionResult MadlibA(string noun1, string noun2, string noun3, string verb1, string adjective1, string adjective2)
        {
            MadlibVariable myMadlibVariable = new MadlibVariable(noun1, noun2, noun3, verb1, adjective1, adjective2);

            return(View(myMadlibVariable));
        }
Example #10
0
        public ActionResult PuppyStory(string verb, string adjective)
        {
            MadlibVariable newMadlib = new MadlibVariable(verb, adjective);

            return(View(newMadlib));
        }
Example #11
0
        public ActionResult Result(string noun, string verb, string adjective, string adverb, string exclamation)
        {
            MadlibVariable newMadlib = new MadlibVariable(noun, verb, adverb, adjective, exclamation);

            return(View(newMadlib));
        }