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

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

public GetGameDefinitionDisplayInfo ( int id ) : GameDefinitionDisplayInfo
id int
Результат BusinessLogic.Models.Games.GameDefinitionDisplayInfo
        public GameDefinitionDisplayInfo GetGameDefinitionDisplayInfo(int id)
        {
            return _dataContext.GetQueryable<GameDefinition>()
                .Include(g => g.BoardGameGeekGameDefinition)
                .Where(g => g.Id == id)
                .Select(MapToGameDefinitionDisplayInfo()).FirstOrDefault();
        }