public ThreadsController(IThreadRepository threadRepo, IPostRepository postRepo, IMapper mapper, IEventBus eventBus) { _threadRepo = threadRepo; _postRepo = postRepo; _mapper = mapper; _eventBus = eventBus; }
public TagController( ITagRepository tagRepository, IThreadRepository threadRepository) { this._tagRepository = tagRepository; this._threadRepository = threadRepository; }
public PostsController(IPostRepository postRepo, IThreadRepository threadRepo, IMapper mapper, IEventBus ev) { _postRepo = postRepo; _threadRepo = threadRepo; _mapper = mapper; _eventBus = ev; }
public ThreadController() { var context = new DefaultDbConext(); _threadRepository = new ThreadRepository(context); _tagRepository = new TagRepository(context); _feedFactory = new FeedFactory(); }
public GroupManager(IGroupRepository groupRepository, IThreadRepository threadRepository, IMapper mapper, IContactRepository contactRepository) { _groupRepository = groupRepository; _threadRepository = threadRepository; _mapper = mapper; _contactRepository = contactRepository; }
public CollaborationService(IHubContext <CollaborationHub> hubContext, IThreadRepository threadRepo, IPostRepository postRepo, IMapper mapper) { _hubContext = hubContext; _threadRepo = threadRepo; _postRepo = postRepo; _mapper = mapper; }
public BoardController(IBoardRepository boardRepository, IPostRepository postRepository, IThreadRepository threadRepository) { _boardRepository = boardRepository; _postRepository = postRepository; _threadRepository = threadRepository; }
public HomeController(IForumRepository forumRepository, IThreadRepository threadRepository, IPostRepository postRepository) { this.forumRepository = forumRepository; this.threadRepository = threadRepository; this.postRepository = postRepository; }
public PostService(IPostRepository postRepository, IFileRepository fileRepository, IThreadRepository threadRepository, IBannedIpRepository bannedIpRepository, IBoardRepository boardRepository) { this.postRepository = postRepository; this.fileRepository = fileRepository; this.threadRepository = threadRepository; this.bannedIpRepository = bannedIpRepository; this.boardRepository = boardRepository; }
public PostService(IQuestionsElasticRepository questionsElasticRepository, IAnswerElasticRepository answerElasticRepository, IThreadRepository threadRepository, IPostsRepository postsRepository, IElasticSuggestionHelper elasticSuggestionHelper) { this.questionsElasticRepository = questionsElasticRepository; this.answerElasticRepository = answerElasticRepository; this.threadRepository = threadRepository; this.postsRepository = postsRepository; this.elasticSuggestionHelper = elasticSuggestionHelper; }
public ThreadService(IThreadRepository threadRepository, IQuestionsElasticRepository questionsElasticRepository, IPostsRepository postsRepository, IElasticSuggestionHelper elasticSuggestionHelper) { this.threadRepository = threadRepository; this.questionsElasticRepository = questionsElasticRepository; this.postsRepository = postsRepository; this.elasticSuggestionHelper = elasticSuggestionHelper; }
public ThreadService( IThreadRepository threadRepository, IMessageRepository messageRepository, IUserService userService) { _threadRepository = threadRepository; _messageRepository = messageRepository; _userService = userService; }
public AdminController(RoleManager <IdentityRole> rolesManager, UserManager <IdentityUser> usersManager, IBoardRepository boardRepository, IThreadRepository threadRepository) { this.rolesManager = rolesManager; this.usersManager = usersManager; this._boardRepository = boardRepository; this._threadRepository = threadRepository; }
public ThreadController(IAccountRepository accountRepository, IForumRepository forumRepository, IThreadRepository threadRepository, IPostRepository postRepository) { this.accountRepository = accountRepository; this.forumRepository = forumRepository; this.threadRepository = threadRepository; this.postRepository = postRepository; }
public UnitOfWork(DbContext context, IPostRepository postRepository, IThreadRepository threadRepository, INotificationRepository notificationRepository, IUserProfileRepository userProfileRepository, ITopicRepository topicRepository) { _context = context; Posts = postRepository; Threads = threadRepository; Notifications = notificationRepository; UserProfiles = userProfileRepository; Topics = topicRepository; }
public ThreadService( IThreadRepository threadRepository, IPostRepository postRepository, IFileRepository filesRepository, IBoardRepository boardRepository) { this.threadRepository = threadRepository; this.postRepository = postRepository; this.fileRepository = filesRepository; this.boardRepository = boardRepository; }
public ThreadController( IThreadRepository threadRepository, IReplyRepository replyRepository, ITagRepository tagRepository, UserManager <ApplicationUser> userManager) { this._replyRepository = replyRepository; this._threadRepository = threadRepository; this._tagRepository = tagRepository; this._userManager = userManager; }
public CustomerService(ICustomerRepository customerRepository, ITicketService ticketService, IThreadRepository threadRepository, IFirebaseCustomerRepository fbCustomerRepository, IAgentService agentService, IChannelService channelService, ICustomerCounterService counterService, IOptions <AppSettings> appSettings) { _customerRepository = customerRepository; _threadRepository = threadRepository; _ticketService = ticketService; _fbCustomerRepository = fbCustomerRepository; _counterService = counterService; _agentService = agentService; _channelService = channelService; _appSettings = appSettings; }
public ThreadManager(IPartnerRepository partnerRepository, IThreadRepository threadRepository, IMessageRepository messageRepository, IGroupRepository groupRepository, IMapper mapper, IContactRepository contactRepository, ITeamRepository teamRepository, ILogRepository logRepository) { _partnerRepository = partnerRepository; _threadRepository = threadRepository; _messageRepository = messageRepository; _groupRepository = groupRepository; _mapper = mapper; _contactRepository = contactRepository; _teamRepository = teamRepository; _logRepository = logRepository; }
public ThreadService(IThreadRepository threadRepository, IFirebaseThreadRepository fbThreadRepository, IReferralService referralService, IMessageService messageService, IChannelService channelService, IAgentService agentService, ICounterService counterService, ICounterRepository counterRepository, IMessageRepository messageRepository) { _threadRepository = threadRepository; _fbThreadRepository = fbThreadRepository; _messageRepository = messageRepository; _counterRepository = counterRepository; _counterService = counterService; _channelService = channelService; _agentService = agentService; _referralService = referralService; _messageService = messageService; }
public ThreadRepositoryTests() { // Arrange var user = new UserEntity(); var comments = new List <CommentEntity>() { new CommentEntity() }; commentsMock = new Mock <ICommentRepository>(); _threadRepository = new ThreadRepository(DbContext, commentsMock.Object); _commentRepository = new CommentRepository(DbContext); DbContext.Threads.Add(new ThreadEntity { Title = "Thread1", Content = "Thread1 content", Author = user, Comments = comments }); DbContext.Threads.Add(new ThreadEntity { Title = "Thread2", Content = "Thread2 content", Author = user, Comments = comments }); DbContext.SaveChanges(); }
public ForumController(IForumRepository forumRepository, IThreadRepository threadRepository, IAccountRepository accountRepository) { this.forumRepository = forumRepository; this.threadRepository = threadRepository; this.accountRepository = accountRepository; }
public DetailModel(IThreadRepository threadRepository, IMessageRepository messageRepository) { this.threadRepository = threadRepository; this.messageRepository = messageRepository; }
public CounterService(ICounterRepository counterRepository, IThreadRepository threadRepository) { _threadRepository = threadRepository; _counterRepository = counterRepository; }
public ThreadService(IThreadRepository threadRepo, ILogger <ThreadService> logger) { _threadRepo = threadRepo; _logger = logger; }
public ThreadService(IThreadRepository threadRepository) { _threadRepository = threadRepository; }
public PostUpdateIntegrationEventHandler(ICollaborationService collaborationService, IThreadRepository threadRepository, IPostRepository postRepository) { _collaborationService = collaborationService; }
public CommentController(ICommentRepository commentRepository, IThreadRepository threadRepository, SaitynaiDbContext context) { _commentRepository = commentRepository; _threadRepository = threadRepository; _context = context; }
public UpdateThreadIntervalCommandHandler(IThreadRepository threadRepository) { _threadRepository = threadRepository; }
public ProcessOrderCommandHandler(IOrderRepository orderRepository, IThreadRepository threadRepository) { _orderRepository = orderRepository; _threadRepository = threadRepository; }