make id nullable

This commit is contained in:
Michael 2017-05-02 21:02:28 -04:00
parent 737a18b592
commit c63d62925b

View file

@ -43,7 +43,7 @@ public ActionResult Pong(int id = 1)
return View(model); return View(model);
} }
public ActionResult Codepoints(int id) public ActionResult Codepoints(int id = 1)
{ {
var db = new ApplicationDbContext(); var db = new ApplicationDbContext();
var highscores = new List<PongHighscore>(); var highscores = new List<PongHighscore>();