예제 #1
0
        public ActionResult Display()
        {
            Scrabble.DeleteAll();
            Scrabble newScrabble = new Scrabble();
            string   userInput   = (Request.Form["scrabbleInput"]);

            Scrabble.SetUserWord(userInput);
            string userWord = Scrabble.GetUserWord();
            int    result   = Scrabble.ScrabbleCalc(userInput);

            return(View("Index", newScrabble));
        }