public ActionResult SaveScore(string PlayMode, int Min, int Max, int numRight, int numWrong, int seconds, int rank) { SelectPlayModel playModel = new SelectPlayModel(String.Format("{0}|{1}|{2}", PlayMode, Min, Max)); FullPlayModel fullModel = new FullPlayModel(playModel); return Json(fullModel.PlayValues); }
public ActionResult LoadPlay(string PlayMode, int Min, int Max) { SelectPlayModel playModel = new SelectPlayModel(String.Format("{0}|{1}|{2}", PlayMode, Min, Max)); FullPlayModel fullModel = new FullPlayModel(playModel); return Json(fullModel.PlayValues); }