UpdateTemplate() 공개 메소드

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

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

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