public IActionResult GetTopScores(int numResults) { var highscores = scoreDAL.GetHighScores(numResults); if (highscores == null) { return(NotFound()); } return(Ok(highscores)); }
public IActionResult GetTopScores(int numResults) { var highscores = scoreDAL.GetHighScores(numResults); if (highscores == null) { return(NotFound()); } return(Ok(highscores)); }