예제 #1
0
        public BoardController(
            ForumServices forumServices,
            SearchServices searchServices,
            ThreadServices threadServices,
            PostServices postServices,
            PollServices pollServices,
            GlobalServices globalServices,
            IRepository<OnlineUser> onlineUserRepository,
            IRepository<OnlineGuest> onlineGuestRepository,
            IRepository<User> userRepository,
            UserServices usersServices,
            RoleServices roleServices,
            MessageServices messageServices,
            PermissionServices permissionServices,
            FileServices fileServices)
        {
            _forumServices = forumServices;
            _searchServices = searchServices;
            _threadServices = threadServices;
            _postServices = postServices;
            _pollServices = pollServices;
            _onlineUserRepository = onlineUserRepository;
            _onlineGuestRepository = onlineGuestRepository;
            _userRepository = userRepository;
            _userServices = usersServices;
            _roleServices = roleServices;
            _messageServices = messageServices;
            _permissionServices = permissionServices;
            _fileServices = fileServices;

            SetTopBreadCrumb("Board");
        }
예제 #2
0
 public PostController(
     IRepository<Smiley> smileyRepository, 
     ForumServices forumServices,
     PostServices postServices,
     ThreadServices threadServices,
     FileServices fileServices,
     PollServices pollServices,
     EmailServices emailServices,
     PermissionServices permissionServices,
     ParseServices parseServices)
 {
     _smileyRepository = smileyRepository;
     _forumServices = forumServices;
     _postServices = postServices;
     _threadServices = threadServices;
     _fileServices = fileServices;
     _pollServices = pollServices;
     _emailServices = emailServices;
     _permissionServices = permissionServices;
     _parseServices = parseServices;
 }