예제 #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 ForumsController(
     IRepository<Category> categoryRepository,
     IRepository<Forum> forumRepository,
     ForumServices forumServices,
     IRepository<Role> roleRepository,
     IRepository<ForumPermission> forumPermissionRepository,
     IRepository<Attachment> attachmentRepository,
     FileServices fileServices,
     CategoryServices categoryServices)
 {
     _categoryRepository = categoryRepository;
     _forumRepository = forumRepository;
     _forumServices = forumServices;
     _roleRepository = roleRepository;
     _forumPermissionRepository = forumPermissionRepository;
     _fileServices = fileServices;
     _attachmentRepository = attachmentRepository;
     _categoryServices = categoryServices;
     SetCrumb("Forums");
 }
예제 #3
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;
 }