protected void Page_Load(object sender, EventArgs e) { var highScoresStore = new HighScoresStore(Application); HallOfFameTable.DataSource = highScoresStore.GetHighScores().OrderBy(s => s.SecondsToWin); HallOfFameTable.DataBind(); }
public GameEngine(QuestionsStore questionsStore, HighScoresStore highScoresStore) { _questionsStore = questionsStore; _highScoresStore = highScoresStore; }