Commits

mgr...@redwavecommerce.com  committed dee297c

Adding in a 'Take'

  • Participants
  • Parent commits 554bb78

Comments (1)

Files changed (1)

File HamOntFire.Core/TweetManager.cs

 
         public List<Event> GetEvents()
         {
-            var @events = _session.Query<Event>().ToList();
+            var @events = _session.Query<Event>().Take(1000).ToList();
             return @events;
         }