Пример #1
0
        public List <Chronozoom.Entities.Timeline> Get()
        {
            List <Chronozoom.Entities.Timeline> rootLines =
                EDMTimelineBuilder.BuildTimeLine(DataEnvironmentAccess.AnInstance);

            return(rootLines);
        }
Пример #2
0
        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));
        }