Example #1
0
        public ActionResult Libs(string noun, string verb, string adjective, string animal)
        {
            LibsVariable libsVariable = new LibsVariable();

            libsVariable.Noun      = noun;
            libsVariable.Verb      = verb;
            libsVariable.Adjective = adjective;
            libsVariable.Animal    = animal;
            return(View(libsVariable));
        }
        public ActionResult Story(string nameone, string nametwo, string namethree)
        {
            LibsVariable myLibsVariable = new LibsVariable();

            myLibsVariable.SetNameOne(nameone);
            myLibsVariable.SetNameTwo(nametwo);
            myLibsVariable.SetNameThree(namethree);
            // Console.WriteLine(myLibsVariable.GetNameOne());
            return(View(myLibsVariable));
        }
        public ActionResult Libs()
        {
            LibsVariable myLibsVariable = new LibsVariable();

            myLibsVariable.SetSubject("Subject");
            myLibsVariable.SetEmotion1("emotion1");
            myLibsVariable.SetPlace("place");
            myLibsVariable.SetNoun("noun");
            myLibsVariable.SetEmotion2("emotion2");
            myLibsVariable.SetBodyFunction("bodyFunction");
            myLibsVariable.SetClothingItem("clothing");
            return(View(myLibsVariable));
        }
        public ActionResult Game(string subject, string emotion1, string place, string noun, string emotion2, string bodyFunction, string clothingItem)
        {
            LibsVariable myLibsVariable = new LibsVariable();

            myLibsVariable.SetSubject(subject);
            myLibsVariable.SetEmotion1(emotion1);
            myLibsVariable.SetPlace(place);
            myLibsVariable.SetNoun(noun);
            myLibsVariable.SetEmotion2(emotion2);
            myLibsVariable.SetBodyFunction(bodyFunction);
            myLibsVariable.SetClothingItem(clothingItem);
            return(View(myLibsVariable));
        }