public ActionResult Create() { RepeatCounter newRepeatCounter = new RepeatCounter(); newRepeatCounter.SetCounter(0); newRepeatCounter.SetUserInput(Request.Form["new-word"]); newRepeatCounter.SetUserCompareString(Request.Form["new-sentence"]); newRepeatCounter.SetCounter(newRepeatCounter.WordCount(RepeatCounter.TidyArray(newRepeatCounter.CompareStringToArray()))); return(View("Index", newRepeatCounter)); }