예제 #1
0
        /// <summary>
        /// Adds Links at the Root (page) level, the Unit level, and the Child level (Faction and Technologies)
        /// </summary>
        public virtual void AddLinksToInquiryResponse(PagedDataInquiryResponse<UnitPrecis> inquiryResponse)
        {
            inquiryResponse.AddLink(_unitLinkService.GetAllUnitsLink());

            _commonLinkService.AddPageLinks(inquiryResponse);
        }
예제 #2
0
        /// <summary>
        /// Adds Links at the Root (page) level, the Building level, and the Child level (Faction and Technologies)
        /// </summary>
        public virtual void AddLinksToInquiryResponse(PagedDataInquiryResponse<BuildingPrecis> inquiryResponse)
        {
            inquiryResponse.AddLink(_buildingLinkService.GetAllBuildingsLink());

            _commonLinkService.AddPageLinks(inquiryResponse);
        }
예제 #3
0
        /// <summary>
        /// Adds Links at the Root (page) level, the Game level, and the Child level (Faction and Technologies)
        /// </summary>
        public virtual void AddLinksToInquiryResponse(PagedDataInquiryResponse<GamePrecis> inquiryResponse)
        {
            inquiryResponse.AddLink(_gameLinkService.GetAllGamesLink());

            _commonLinkService.AddPageLinks(inquiryResponse);
        }