public ActionResult MadLibs(string name, string sillyword, string lastname, string illness, string nounplural, string adjective, string adjective2, string sillyword2, string place, string number, string adjective3) { MadLibsVariable madLibs = new MadLibsVariable(); madLibs.SetName(name); madLibs.SetSillyWord(sillyword); madLibs.SetLastName(lastname); madLibs.SetIllness(illness); madLibs.SetNounPlural(nounplural); madLibs.SetAdjective(adjective); madLibs.SetAdjective2(adjective2); madLibs.SetSillyWord2(sillyword2); madLibs.SetPlace(place); madLibs.SetNumber(number); madLibs.SetAdjective3(adjective3); return(View(madLibs)); }
public ActionResult World(string name, string number, string vehicle, string adjective1, string adjective2, string verb1, string animal, string adjective3, string verb2, string adjective4, string verb3, string verb4, string place, string verb5) { MadLibsVariable myMadLibsVariable = new MadLibsVariable(); myMadLibsVariable.SetAdjective(adjective1); myMadLibsVariable.SetVerb(verb1); myMadLibsVariable.SetName(name); myMadLibsVariable.SetVerb(verb2); myMadLibsVariable.SetAdjective(adjective2); myMadLibsVariable.SetAdjective(adjective3); myMadLibsVariable.SetAdjective(adjective4); myMadLibsVariable.SetVerb(verb3); myMadLibsVariable.SetVerb(verb4); myMadLibsVariable.SetVerb(verb5); myMadLibsVariable.SetNumber(number); myMadLibsVariable.SetVehicle(vehicle); myMadLibsVariable.SetAnimal(animal); myMadLibsVariable.SetPlace(place); return(View(myMadLibsVariable)); }