private void StartButtonExecute() { using (TransactionScope scope = new TransactionScope()) { var result = _timeRecorder.ActiityChange(ActivityName.PartsBarcodeReading); _timeManagementRepository.ActiityChangeSave(result); scope.Complete(); } _workOrderRepository.ReStart(); }