private void MigrateProtectionDocAttornies() { var isAnyProtectionDocAttornies = _newNiisDictionaryService.IsAnyProtectionDocAttornies(); if (isAnyProtectionDocAttornies == false) { var protectionDocAttornies = _oldNiisDictionaryService.GetProtectionDocAttornies(); ActionTransaction(() => _newNiisDictionaryService.CreateRangeProtectionDocAttornies(protectionDocAttornies)); } }