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"); }
private void StopTime() { dataService.StopTimer(); }