UpdateTemplate() public method

public UpdateTemplate ( int templateId ) : void
templateId int
return void
Beispiel #1
0
        public Guid UpdateOrCreateContentGroup(ContentGroup contentGroup, int templateId)
        {
            if (!contentGroup.Exists)
            {
                return(CreateNewContentGroup(templateId));
            }

            contentGroup.UpdateTemplate(templateId);
            return(contentGroup.ContentGroupGuid);
        }
Beispiel #2
0
        public Guid UpdateOrCreateContentGroup(ContentGroup contentGroup, int templateId)
        {
            if (!contentGroup.Exists)
                return CreateNewContentGroup(templateId);

            contentGroup.UpdateTemplate(templateId);
            return contentGroup.ContentGroupGuid;
        }