Esempio n. 1
0
        public IList <Segment> Get(int skip)
        {
            int maxReturn         = 100;
            var segmentRepository = new SegmentRepository();

            return(segmentRepository.Get(maxReturn, skip));
        }
Esempio n. 2
0
        public void GetSegments()
        {
            int take            = 10;
            int skip            = 0;
            var segmentsService = new SegmentRepository();
            var segments        = segmentsService.Get(take, skip);

            foreach (var segment in segments)
            {
                testContextInstance.WriteLine("{0} {1} {2} {3}", segment.Genre, segment.SegmentAll, segment.Segment0, segment.Segment1);
            }
        }