public SectionDataController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); TplService = new ContentSectionTemplateService(); ctService = new ContentCustomTemplateService(); }
public PostController() { LayoutControllerType = typeof(Section.LayoutController); postService = new ContentPostService(); sectionService = new ContentSectionService(); }
public ListController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); attachmentService = new AttachmentService(); ctService = new ContentCustomTemplateService(); }
public AttachmentController() { postService = new ContentPostService(); attachService = new AttachmentService(); HideLayout(typeof(wojilu.Web.Controller.Content.LayoutController)); }
public ListImgController() { sectionService = new ContentSectionService(); postService = new ContentPostService(); imgService = new ContentImgService(); ctService = new ContentCustomTemplateService(); }
private static int importDirect(SpiderArticle art, SpiderImport item, ContentSection section, ContentApp app) { ContentPostService postService = ObjectContext.Create <ContentPostService>(); ContentPost post = new ContentPost(); post.Title = art.Title; post.Content = art.Body; if (art.IsPic == 1) { post.CategoryId = PostCategory.Img; post.ImgLink = art.PicUrl; } post.SourceLink = art.Url; post.Creator = item.Creator; post.CreatorUrl = item.Creator.Url; post.PageSection = section; post.OwnerId = app.OwnerId; post.OwnerType = app.OwnerType; post.OwnerUrl = app.OwnerUrl; post.AppId = app.Id; postService.Insert(post, ""); return(post.Id); }
public NormalController() { postService = new ContentPostService(); imgService = new ContentImgService(); sectionService = new ContentSectionService(); ctService = new ContentCustomTemplateService(); }
public AdminController() { sectionService = new ContentSectionService(); postService = new ContentPostService(); tempPostService = new ContentTempPostService(); ntService = new NotificationService(); msgService = new MessageService(); }
public ContentController() { sectionService = new ContentSectionService(); templatelService = new ContentSectionTemplateService(); postService = new ContentPostService(); ctService = new ContentCustomTemplateService(); HideLayout(typeof(wojilu.Web.Controller.Content.LayoutController)); }
public PostController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); attachService = new AttachmentService(); appService = new SiteAppService(); HideLayout(typeof(wojilu.Web.Controller.Content.LayoutController)); }
public CmsInstallerBase() { installerService = new AppInstallerService(); appService = new UserAppService(); menuService = new UserMenuService(); sectionService = new ContentSectionService(); tplService = new ContentCustomTemplateService(); postService = new ContentPostService(); }
public ListImgController() { sectionService = new ContentSectionService(); postService = new ContentPostService(); imgService = new ContentImgService(); }
public VideoShowController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); }
public ListMaker( ) { postService = new ContentPostService(); sectionService = new ContentSectionService(); }
public PostController() { sectionService = new ContentSectionService(); postService = new ContentPostService(); tempPostService = new ContentTempPostService(); }
public ImgController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); imgService = new ContentImgService(); }
public ListTwoController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); }
public SlideController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); }
public NormalController() { postService = new ContentPostService(); imgService = new ContentImgService(); }
public SummaryController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); }
public TalkController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); ctService = new ContentCustomTemplateService(); }
public ListController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); attachService = new AttachmentService(); }
public PollController() { postService = new ContentPostService(); sectionService = new ContentSectionService(); pollService = new ContentPollService(); }
public ContentAttachmentController() { postService = new ContentPostService(); attachmentService = new AttachmentService(); }
public ListImgController() { postService = new ContentPostService(); imgService = new ContentImgService(); }