コード例 #1
0
        private void MigrateAvailabilityCorrespondences()
        {
            var isAnyAvailabilityCorrespondences = _newNiisDictionaryService.IsAnyAvailabilityCorrespondences();

            if (isAnyAvailabilityCorrespondences == false)
            {
                var availabilityCorrespondences = _oldNiisDictionaryService.GetAvailabilityCorrespondences();
                ActionTransaction(() => _newNiisDictionaryService.CreateRangeAvailabilityCorrespondences(availabilityCorrespondences));
            }
        }