Example #1
0
 public IEnumerable <string> Get()
 {
     return(_eventRepo.GetAllSerializedEvents());
 }
Example #2
0
 //todo: make async
 public IEnumerable <string> GetRecentEvents()
 {
     return(_repo.GetAllSerializedEvents().Reverse().Take(10));
 }