Esempio n. 1
0
        internal void UpdateTemplateControls(TemplateControlCollection templateControls)
        {
            if (templateControls.Count == 0)
            {
                return;
            }

            DataAccess.TemplateControlRepository.UpdateTemplateControls(templateControls.CreateDataObjectCollection());
        }
Esempio n. 2
0
        internal void AddTemplateControls(int templateId, TemplateControlCollection templateControls)
        {
            if (templateControls.Count == 0)
            {
                return;
            }

            DataAccess.TemplateControlRepository.AddTemplateControls(templateId, templateControls.CreateDataObjectCollection());
        }