public ThreadServices( IRepository<Thread> threadRepository, IRepository<ThreadView> threadViewRepository, IRepository<Post> postRepository, IRepository<User> userRepository, IRepository<ThreadViewStamp> threadViewStampRepository, IRepository<Subscription> subscriptionRepository, IRepository<Attachment> attachmentRepository, PollServices pollServices, FileServices fileServices, ParseServices parseServices, RoleServices roleServices, IUnitOfWork unitOfWork) : base(unitOfWork) { _threadRepository = threadRepository; _threadViewRepository = threadViewRepository; _postRepository = postRepository; _userRepository = userRepository; _threadViewStampRepository = threadViewStampRepository; _subscriptionRepository = subscriptionRepository; _attachmentRepository = attachmentRepository; _pollServices = pollServices; _fileServices = fileServices; _parseServices = parseServices; _roleServices = roleServices; }
public ThreadServices( IRepository <Thread> threadRepository, IRepository <ThreadView> threadViewRepository, IRepository <Post> postRepository, IRepository <User> userRepository, IRepository <ThreadViewStamp> threadViewStampRepository, IRepository <Subscription> subscriptionRepository, IRepository <Attachment> attachmentRepository, PollServices pollServices, FileServices fileServices, ParseServices parseServices, RoleServices roleServices, IUnitOfWork unitOfWork) : base(unitOfWork) { _threadRepository = threadRepository; _threadViewRepository = threadViewRepository; _postRepository = postRepository; _userRepository = userRepository; _threadViewStampRepository = threadViewStampRepository; _subscriptionRepository = subscriptionRepository; _attachmentRepository = attachmentRepository; _pollServices = pollServices; _fileServices = fileServices; _parseServices = parseServices; _roleServices = roleServices; }
public void Initialize() { var smileyRepository = TestHelpers.MockRepository<Smiley>(_smilies); var bbCodeRepository = TestHelpers.MockRepository<BBCode>(_bbCodes); var unitOfWork = TestHelpers.MockUnitOfWork(); _parseServices = new ParseServices( bbCodeRepository.Object, smileyRepository.Object, unitOfWork.Object); }
public MessagesController( UserServices userServices, MessageServices messageServicess, IRepository<Message> messageRepository, ParseServices parseServices, EmailServices emailServices) { _userServices = userServices; _messageServices = messageServicess; _parseServices = parseServices; _emailServices = emailServices; SetCrumbs("User CP", "User CP"); }
public PostServices( IRepository<Attachment> attachmentRepository, IRepository<Post> postRepository, IRepository<ReportedPost> reportedPostRepository, FileServices fileServices, ParseServices parseServices, RoleServices roleServices, IUnitOfWork unitOfWork) : base(unitOfWork) { _postRepository = postRepository; _attachmentRepository = attachmentRepository; _reportedPostRepository = reportedPostRepository; _fileServices = fileServices; _roleServices = roleServices; _parseServices = parseServices; }
public PostServices( IRepository <Attachment> attachmentRepository, IRepository <Post> postRepository, IRepository <ReportedPost> reportedPostRepository, FileServices fileServices, ParseServices parseServices, RoleServices roleServices, IUnitOfWork unitOfWork) : base(unitOfWork) { _postRepository = postRepository; _attachmentRepository = attachmentRepository; _reportedPostRepository = reportedPostRepository; _fileServices = fileServices; _roleServices = roleServices; _parseServices = parseServices; }
public UserController( ThemeServices themes, UserServices users, ParseServices parseServices, MessageServices messageServices, EmailServices emailServices, FileServices fileServices, RoleServices roleServices) { _themeServices = themes; _userServices = users; _parseServices = parseServices; _messageServices = messageServices; _emailServices = emailServices; _fileServices = fileServices; _roleServices = roleServices; SetTopBreadCrumb("User CP"); SetBreadCrumb("User CP"); }
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; }
public UserServices( IRepository <User> userRepository, IRepository <Message> messageRepository, IRepository <OnlineUser> onlineUserRepository, IRepository <OnlineGuest> onlineGuestRepository, IRepository <ThreadViewStamp> threadViewStampRepository, IRepository <UserProfile> userProfileRepository, IRepository <PasswordResetRequest> passwordResetRequestRepository, IRepository <InRole> inRolesRepository, ParseServices parseServices, IUnitOfWork unitOfWork) : base(unitOfWork) { _userRepository = userRepository; _messageRepository = messageRepository; _onlineUserRepository = onlineUserRepository; _onlineGuestRepository = onlineGuestRepository; _threadViewStampRepository = threadViewStampRepository; _userProfileRepository = userProfileRepository; _passwordResetRequestRepository = passwordResetRequestRepository; _parseServices = parseServices; }
public UserServices( IRepository<User> userRepository, IRepository<Message> messageRepository, IRepository<OnlineUser> onlineUserRepository, IRepository<OnlineGuest> onlineGuestRepository, IRepository<ThreadViewStamp> threadViewStampRepository, IRepository<UserProfile> userProfileRepository, IRepository<PasswordResetRequest> passwordResetRequestRepository, IRepository<InRole> inRolesRepository, ParseServices parseServices, IUnitOfWork unitOfWork) : base(unitOfWork) { _userRepository = userRepository; _messageRepository = messageRepository; _onlineUserRepository = onlineUserRepository; _onlineGuestRepository = onlineGuestRepository; _threadViewStampRepository = threadViewStampRepository; _userProfileRepository = userProfileRepository; _passwordResetRequestRepository = passwordResetRequestRepository; _parseServices = parseServices; }