public IDomainRepositoryQueryContext <PageRenderSummary> AsRenderSummary(int pageVersionId) { var query = new GetPageRenderSummaryByIdQuery(_pageId, PublishStatusQuery.SpecificVersion); query.PageVersionId = pageVersionId; return(DomainRepositoryQueryContextFactory.Create(query, ExtendableContentRepository)); }
public IDomainRepositoryQueryContext <PageRenderSummary> AsRenderSummary(PublishStatusQuery publishStatus) { var query = new GetPageRenderSummaryByIdQuery(_pageId, publishStatus); return(DomainRepositoryQueryContextFactory.Create(query, ExtendableContentRepository)); }