From 642b082c34a95aae82e8e6e86eda8a1fb73a7849 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 2 May 2017 16:18:53 -0400 Subject: [PATCH] convert page to list --- Project-Unite/Controllers/StatsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project-Unite/Controllers/StatsController.cs b/Project-Unite/Controllers/StatsController.cs index 71d2adc..1306f8e 100644 --- a/Project-Unite/Controllers/StatsController.cs +++ b/Project-Unite/Controllers/StatsController.cs @@ -33,7 +33,7 @@ public ActionResult Pong(int id = 1) var model = new PongStatsViewModel { - Highscores = pages, + Highscores = pages.ToList(), CurrentPage = id, PageCount = 10 };