Beispiel #1
0
 public IEnumerable<Event> GetEvents(Date date)
 {
     return session
         .CreateCriteria(typeof (Event))
         .AddOrder(Order.Desc("Rank"))
         .List<Event>();
 }
Beispiel #2
0
 public IEnumerable<Event> Execute(Date date)
 {
     return repository.GetEvents(date);
 }