From c63d62925ba265bae178a1db28dd451527cedb21 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 2 May 2017 21:02:28 -0400 Subject: make id nullable --- Project-Unite/Controllers/StatsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project-Unite/Controllers/StatsController.cs') diff --git a/Project-Unite/Controllers/StatsController.cs b/Project-Unite/Controllers/StatsController.cs index cce3da3..6a16282 100644 --- a/Project-Unite/Controllers/StatsController.cs +++ b/Project-Unite/Controllers/StatsController.cs @@ -43,7 +43,7 @@ namespace Project_Unite.Controllers return View(model); } - public ActionResult Codepoints(int id) + public ActionResult Codepoints(int id = 1) { var db = new ApplicationDbContext(); var highscores = new List(); -- cgit v1.2.3