private void MigrateDicDivisions() { var isAnyDicDivisions = _newNiisDictionaryService.IsAnyDictionaryByEntityName(nameof(DicDivision)); if (isAnyDicDivisions == false) { var dicDivisions = _oldNiisDictionaryService.GetDicDivisions(); ActionTransaction(() => _newNiisDictionaryService.CreateRangeDictionaries(dicDivisions)); } }