예제 #1
0
        public UserHomeController()
        {
            userService = new UserService();
            categoryService = new PhotoAlbumService();
            postService = new PhotoPostService();
            sysCategoryService = new PhotoSysCategoryService();
            likeService = new PhotoLikeService();

            HideLayout( typeof( wojilu.Web.Controller.Photo.LayoutController ) );
        }
예제 #2
0
        public MyController()
        {
            base.HideLayout( typeof( Photo.LayoutController ) );

            friendService = new FriendService();

            postService = new PhotoPostService();
            albumService = new PhotoAlbumService();

            categoryService = new PhotoSysCategoryService();
        }
예제 #3
0
 public PhotoController()
 {
     postService = new PhotoPostService();
     albumService = new PhotoAlbumService();
 }
예제 #4
0
 public LayoutController()
 {
     albumService = new PhotoAlbumService();
     postService = new PhotoPostService();
     commentService = new OpenCommentService();
 }
예제 #5
0
        public LayoutController()
        {
            albumService = new PhotoAlbumService();

            commentService = new CommentService<PhotoPostComment>();
        }
예제 #6
0
 public AlbumController()
 {
     base.HideLayout( typeof( Photo.LayoutController ) );
     albumService = new PhotoAlbumService();
     postService = new PhotoPostService();
 }