File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
WebAPI/LearningHub.Nhs.Repository/Hierarchy Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,6 @@ public async Task<List<CatalogueNodeVersion>> GetPublishedCatalogues()
8181 /// <returns>The <see cref="Task"/>.</returns>
8282 public IQueryable < CatalogueNodeVersion > GetPublishedCataloguesForUserAsync ( int userId )
8383 {
84- ////var communityCatalogue = this.DbContext.CatalogueNodeVersion.AsNoTracking()
85- //// .Include(cnv => cnv.NodeVersion.Node)
86- //// .Where(cnv => cnv.NodeVersion.VersionStatusEnum == VersionStatusEnum.Published
87- //// && cnv.NodeVersion.NodeId == 1 /* Community Catalogue */);
88-
8984 var cataloguesForUser = from cnv in this . DbContext . CatalogueNodeVersion . Include ( cnv => cnv . NodeVersion . Node ) . AsNoTracking ( )
9085 join nv in this . DbContext . NodeVersion . Where ( cnv => cnv . VersionStatusEnum == VersionStatusEnum . Published && ! cnv . Deleted ) // .Include(nv => nv.Node)
9186 on cnv . NodeVersionId equals nv . Id
You can’t perform that action at this time.
0 commit comments