public TimeEntry GetNextEntry(TimeEntry entry) { var entryTime = entry.Time; return(TimeCollection.FindOne(e => e.Time > entryTime)); }
public void Save(TimeEntry timeEntry) { TimeCollection.Upsert(timeEntry); }