コード例 #1
0
        public static WorkTime CreateStartedManually()
        {
            var workTime = new WorkTime(_id--, UserTestUtils.CreateTestUser(), null, InternalTimeService.GetCurrentDateTime().AddMinutes(10));

            workTime.StartManually();
            workTime.MarkPendingEventsAsHandled();
            return(workTime);
        }