Exemplo n.º 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"));
     }
 }
Exemplo n.º 2
0
        public ActionResult Index()
        {
            List <CheckScore> allCheckScores = CheckScore.GetAll();

            return(View(allCheckScores));
        }