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");
        }
Exemple #2
0
 public ForumServices(
     IRepository <Thread> threads,
     IRepository <Category> categories,
     IRepository <Post> posts,
     IRepository <Forum> forums,
     ThreadServices threadServices,
     IRepository <ThreadViewStamp> threadViewStampRepository,
     PermissionServices permissionServices,
     IRepository <User> userRepository,
     IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     _threadRepository          = threads;
     _categoryRepository        = categories;
     _postRepository            = posts;
     _forumRepository           = forums;
     _threadServices            = threadServices;
     _threadViewStampRepository = threadViewStampRepository;
     _permissionServices        = permissionServices;
     _userRepository            = userRepository;
 }
 public ForumServices(
     IRepository<Thread> threads,
     IRepository<Category> categories,
     IRepository<Post> posts,
     IRepository<Forum> forums,
     ThreadServices threadServices,
     IRepository<ThreadViewStamp> threadViewStampRepository,
     PermissionServices permissionServices,
     IRepository<User> userRepository,
     IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     _threadRepository = threads;
     _categoryRepository = categories;
     _postRepository = posts;
     _forumRepository = forums;
     _threadServices = threadServices;
     _threadViewStampRepository = threadViewStampRepository;
     _permissionServices = permissionServices;
     _userRepository = userRepository;
 }
 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;
 }