예제 #1
0
 public ActionResult Create(string wordInput)
 {
     if (wordInput != null)
     {
         CheckScore newScore = new CheckScore(wordInput);
         newScore.CalculateScore();
         List <CheckScore> allCheckScores = CheckScore.GetAll();
         return(View("Index", allCheckScores));
     }
     else
     {
         return(View("New"));
     }
 }
예제 #2
0
        public ActionResult Index()
        {
            List <CheckScore> allCheckScores = CheckScore.GetAll();

            return(View(allCheckScores));
        }