private DataHarmonizationQueue GetFirstItemInQueue() { var firstPendingItem = _dataHarmonizationService.GetFirstItemInQueue(); firstPendingItem.ModifiedDate = DateTime.Now; _dataHarmonizationQueueRepository.EditDataHarmonizationQueue(firstPendingItem); return(firstPendingItem); }
private void EditQueueItem(DataHarmonizationQueue item) { try { _dataHarmonizationQueueRepository.EditDataHarmonizationQueue(item); } catch (Exception e) { _logManager.LogErrors(e); throw new Exception("Error Updating DataHarmonizationQueue Item"); } }