public List <Chronozoom.Entities.Timeline> Get() { List <Chronozoom.Entities.Timeline> rootLines = EDMTimelineBuilder.BuildTimeLine(DataEnvironmentAccess.AnInstance); return(rootLines); }
public static List <Chronozoom.Entities.Timeline> BuildTimeLine(DataEnvironmentAccess db) { Dictionary <Guid, List <Chronozoom.Entities.Exhibit> > timeLineExhibits = EDMTimelineBuilder.LoadExhibits( db, EDMTimelineBuilder.LoadExhibitReferences(db), EDMTimelineBuilder.LoadExhibitContentTypes(db)); return(EDMTimelineBuilder.LoadTimeline( db, timeLineExhibits)); }