Exemplo n.º 1
0
 public static IRepositoryQuery <Event> DateRange(this IRepositoryQuery <Event> query, DateTime?utcStart, DateTime?utcEnd)
 {
     return(query.DateRange(utcStart, utcEnd, (Event e) => e.Date));
 }
Exemplo n.º 2
0
 public static IRepositoryQuery <Stack> DateRange(this IRepositoryQuery <Stack> query, DateTime?utcStart, DateTime?utcEnd)
 {
     return(query.DateRange(utcStart, utcEnd, (Stack e) => e.CreatedUtc));
 }