示例#1
0
        public MainController()
        {
            postService     = new BlogPostService();
            userService     = new UserService();
            pickedService   = new PickedService();
            sysblogService  = new SysBlogService();
            categoryService = new BlogSysCategoryService();
            pickService     = new BlogPickService();

            picService = new BlogPicService();

            HideLayout(typeof(LayoutController));
        }
示例#2
0
 public BlogFileController()
 {
     fileService = new UserFileService();
     pickService = new BlogPicService();
 }