public IList <Segment> Get(int skip) { int maxReturn = 100; var segmentRepository = new SegmentRepository(); return(segmentRepository.Get(maxReturn, skip)); }
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); } }