feat: include PhaseSections in ProjectPhase retrieval for enhanced task data

This commit is contained in:
2026-01-04 16:58:36 +03:30
parent c2fca9f9eb
commit 33833a408c

View File

@@ -19,6 +19,7 @@ public class ProjectPhaseRepository : RepositoryBase<Guid, ProjectPhase>, IProje
public Task<ProjectPhase?> GetWithTasksAsync(Guid phaseId)
{
return _context.ProjectPhases
.Include(x=>x.PhaseSections)
.Include(p => p.Tasks)
.ThenInclude(t => t.Sections)
.ThenInclude(s => s.Skill)