BusinessLogic.Logic.GameDefinitions.GameDefinitionRetriever.GetRecentGames C# (CSharp) Метод

GetRecentGames() публичный Метод

public GetRecentGames ( GetRecentPlayedGamesQuery query ) : IPagedList
query BusinessLogic.Paging.GetRecentPlayedGamesQuery
Результат IPagedList
        public IPagedList<GameDefinitionDisplayInfo> GetRecentGames(GetRecentPlayedGamesQuery query)
        {
            var recentGames = GetGameDefinitionDisplayInfoQuery(query.GamingGroupId)
               .OrderByDescending(g => g.LastDatePlayed);

            return recentGames.ToPagedList(query.Page, query.PageSize);
        }