public CharacterSetting RetrieveCharacterSetting(int id) { CharacterSetting setting = CharacterSettings.Find(cs => cs.Id == id); return(setting != default(CharacterSetting) ? setting : null); }