Ejemplo n.º 1
0
 public ActionResult SingleScoreList(int?id)
 {
     if (id == null)
     {
         if (TempData["id"] != null)
         {
             id             = int.Parse(TempData["id"].ToString());
             TempData["id"] = id;
         }
         return(View(_paper.SingleScoreInfoPaged(id, GetSingleScoreList(ClassID, SinglePaperID))));
     }
     else
     {
         TempData["id"] = id;
         return(RedirectToAction("SingleExerciseScore"));
     }
 }