コード例 #1
0
        public ActionResult ShowResult(FormCollection fc)
        {
            GraphProblemDb.Update();
            int     problemId = Convert.ToInt32(fc.GetValue("ResultId").AttemptedValue);
            Problem selected  = GraphProblemDb.GetProblem(problemId);

            GraphProblemDb.CurrentProblem = selected;
            return(RedirectToAction("GraphListResult", "GraphListResult", GraphProblemDb.CurrentProblem));
        }
コード例 #2
0
 public OutputResultController()
 {
     GraphProblemDb.Update();
 }