Пример #1
0
        public TimeEntry GetNextEntry(TimeEntry entry)
        {
            var entryTime = entry.Time;

            return(TimeCollection.FindOne(e => e.Time > entryTime));
        }
Пример #2
0
 public void Save(TimeEntry timeEntry)
 {
     TimeCollection.Upsert(timeEntry);
 }