diff --git a/PARR.DAL/Services/Implementations/HostService.cs b/PARR.DAL/Services/Implementations/HostService.cs index b572a673..782fd6df 100644 --- a/PARR.DAL/Services/Implementations/HostService.cs +++ b/PARR.DAL/Services/Implementations/HostService.cs @@ -40,7 +40,11 @@ namespace PARR.DAL.Services.Implementations private IQueryable GetHostWithIncludeApps() { - return EntitySet.Include(t => t.ApplicationsInHosts).ThenInclude(a => a.Application).ThenInclude(t => t!.ApplicationType); + return EntitySet + .Include(t => t.ApplicationsInHosts) + .ThenInclude(a => a.Application) + .ThenInclude(t => t!.ApplicationType) + .Include(t => t.WorkGroup); }