| 123456789101112131415161718192021222324 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- namespace NEducation.Models
- {
- public class TestingResult
- {
- //ViewBag.courseName = Session["courseName"] as String;
- // ViewBag.lessonName = Session["lessonName"] as String;
- // ViewBag.time = time;
- // ViewBag.correct = countCorrect;
- // ViewBag.wrong = countWrong;
- // ViewBag.percent = Math.Round((decimal) countCorrect * 100 / result.total);
- public string courseName { get; set; }
- public string lessonName { get; set; }
- public int timeElapsed { get; set; }
- public int countCorrect { get; set; }
- public int countWrong { get; set; }
- public int countTotal { get; set; }
- public int percent { get; set; }
- }
- }
|