Пример #1
0
    public void StopSession()
    {
        dataSave.StartTimer().Wait();
        var sequence = dataSave.StopTimer().Wait();

        Assert.True(sequence == OperationResult.OK, "sequence end Operation state is Incorrect");
        var entry = repo.Fetch <TimeEntry>().FindLast(x => true);

        Assert.True(entry.EntryTimeEnd.HasValue && entry.EntryTimeStart.HasValue, "data entry was not totally successful");
    }
Пример #2
0
 private void StopTime()
 {
     dataService.StopTimer();
 }