private void AddConfig(List <UGRS.Core.SDK.DI.Configuration.Tables.Config> pLstConfig) { ConfigurationService lObjConfigurationService = new ConfigurationService(); lObjConfigurationService.Initialize(); foreach (UGRS.Core.SDK.DI.Configuration.Tables.Config lConfig in pLstConfig) { if (lObjConfigurationService.Exist(lConfig.Name)) { lObjConfigurationService.Update(lConfig); } else { lObjConfigurationService.Add(lConfig); } } }