示例#1
0
        public ActionResult Results()
        {
            PingPongGenerator.ClearAll();
            PingPongGenerator pingpong = new PingPongGenerator(int.Parse(Request.Form["inputNumber"]));

            return(View(pingpong.CountsTo()));
        }
 public void Dispose()
 {
     PingPongGenerator.ClearAll();
 }
示例#3
0
 public ActionResult Clear()
 {
     PingPongGenerator.ClearAll();
     return(View());
 }