I'm currently going through your book and sample application and i'm getting started understanding domain driven design.
There is one section which i find confusing. In the start of you book, you define Aggregates;
"The root of an Aggregate can hold references to the roots of other Aggregates, and objects inside of an Aggregate can hold references to one another, but nothing outside of the Aggregate boundary can access the objects
inside of the Aggregate without going through that Aggregate ’ s root object."
But inside ProjectService.cs i find this function:
public static IList<MarketSegment> GetMarketSegments()
Doesn't that confict with the definition of an aggregate?