Beispiel #1
0
        /// <summary>
        /// Return list of stats for creating chart
        /// </summary>
        /// <returns>Stats</returns>
        public ActionResult ShowStat()
        {
            var quiz = Session["Quiz"] as Quiz;

            return(Json(statImpl.CreateStats(quiz.QuizId), JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
 public void TestCreateStats()
 {
     Assert.AreEqual(6, _statImpl.CreateStats(1).Count);
 }