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