/// <summary> /// Get all Leaderboard score of all Worlds /// </summary> /// <returns>Return list of Leaderboard object</returns> public List <Leaderboard> GetLeaderboards() { LeaderboardDaoImpl leaderboardDao = new LeaderboardDaoImpl(); return(leaderboardDao.GetLeaderboardScore()); }
/// <summary> /// Get all Leaderboard scores of selected World /// </summary> /// <param name="worldId"></param> /// <returns>Return list of Leaderboard object</returns> public List <Leaderboard> GetWorldLeaderboard(int worldId) { LeaderboardDaoImpl leaderboardDao = new LeaderboardDaoImpl(); return(leaderboardDao.GetLeaderboardScore(worldId)); }