public SectionDataController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
     TplService     = new ContentSectionTemplateService();
     ctService      = new ContentCustomTemplateService();
 }
Пример #2
0
        public PostController()
        {
            LayoutControllerType = typeof(Section.LayoutController);

            postService    = new ContentPostService();
            sectionService = new ContentSectionService();
        }
Пример #3
0
 public ListController()
 {
     postService       = new ContentPostService();
     sectionService    = new ContentSectionService();
     attachmentService = new AttachmentService();
     ctService         = new ContentCustomTemplateService();
 }
Пример #4
0
        public AttachmentController()
        {
            postService   = new ContentPostService();
            attachService = new AttachmentService();

            HideLayout(typeof(wojilu.Web.Controller.Content.LayoutController));
        }
Пример #5
0
 public ListImgController()
 {
     sectionService = new ContentSectionService();
     postService    = new ContentPostService();
     imgService     = new ContentImgService();
     ctService      = new ContentCustomTemplateService();
 }
Пример #6
0
        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);
        }
Пример #7
0
 public NormalController()
 {
     postService    = new ContentPostService();
     imgService     = new ContentImgService();
     sectionService = new ContentSectionService();
     ctService      = new ContentCustomTemplateService();
 }
Пример #8
0
 public AdminController()
 {
     sectionService  = new ContentSectionService();
     postService     = new ContentPostService();
     tempPostService = new ContentTempPostService();
     ntService       = new NotificationService();
     msgService      = new MessageService();
 }
Пример #9
0
        public ContentController()
        {
            sectionService   = new ContentSectionService();
            templatelService = new ContentSectionTemplateService();
            postService      = new ContentPostService();
            ctService        = new ContentCustomTemplateService();

            HideLayout(typeof(wojilu.Web.Controller.Content.LayoutController));
        }
Пример #10
0
        public PostController()
        {
            postService    = new ContentPostService();
            sectionService = new ContentSectionService();
            attachService  = new AttachmentService();
            appService     = new SiteAppService();

            HideLayout(typeof(wojilu.Web.Controller.Content.LayoutController));
        }
Пример #11
0
 public CmsInstallerBase()
 {
     installerService = new AppInstallerService();
     appService       = new UserAppService();
     menuService      = new UserMenuService();
     sectionService   = new ContentSectionService();
     tplService       = new ContentCustomTemplateService();
     postService      = new ContentPostService();
 }
Пример #12
0
 public ListImgController()
 {
     sectionService = new ContentSectionService();
     postService    = new ContentPostService();
     imgService     = new ContentImgService();
 }
Пример #13
0
 public VideoShowController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
 }
Пример #14
0
 public ListMaker(  )
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
 }
Пример #15
0
 public PostController()
 {
     sectionService  = new ContentSectionService();
     postService     = new ContentPostService();
     tempPostService = new ContentTempPostService();
 }
Пример #16
0
 public ImgController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
     imgService     = new ContentImgService();
 }
Пример #17
0
 public ListTwoController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
 }
Пример #18
0
 public SlideController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
 }
Пример #19
0
 public NormalController()
 {
     postService = new ContentPostService();
     imgService  = new ContentImgService();
 }
Пример #20
0
 public SummaryController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
 }
Пример #21
0
 public TalkController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
     ctService      = new ContentCustomTemplateService();
 }
Пример #22
0
 public ListController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
     attachService  = new AttachmentService();
 }
Пример #23
0
 public PollController()
 {
     postService    = new ContentPostService();
     sectionService = new ContentSectionService();
     pollService    = new ContentPollService();
 }
Пример #24
0
 public ContentAttachmentController()
 {
     postService       = new ContentPostService();
     attachmentService = new AttachmentService();
 }
Пример #25
0
 public ListImgController()
 {
     postService = new ContentPostService();
     imgService  = new ContentImgService();
 }