The current controller assignments and all Control Surfaces preferences are stored in the ~/Library/Preferences/com.apple.logic.pro.cs file.
You do not need to save controller assignments or related preferences and settings. These are automatically stored when you quit Logic Pro.