in AdventureWorksMVCCore.Web/Service/Implementation/CategoryService.cs [17:24]
public List<ProductCategory> GetCategoriesWithSubCategory()
{
return _context.ProductCategory
.Include(category => category.ProductSubcategory)
.ToList();
}