Exemplo n.º 1
0
 public MainController() {
     postService = new BlogPostService();
     pickedService = new PickedService();
     sysblogService = new SysBlogService();
     logService = new SiteLogService();
     categoryService = new BlogSysCategoryService();
 }
Exemplo n.º 2
0
        public MainController()
        {
            postService = new BlogPostService();
            userService = new UserService();
            pickedService = new PickedService();
            sysblogService = new SysBlogService();
            categoryService = new BlogCategoryService();
            blogcommentService = new BlogCommentService();

            HideLayout( typeof( LayoutController ) );
        }