public ThreadsController(IThreadsRepository threadsRepository, IMessagesRepository messagesRepository, IStudentifyAccountsRepository accountsRepository, IStudentifyEventsRepository studentifyEventsRepository) { _threadsRepository = threadsRepository; _accountsRepository = accountsRepository; _messagesRepository = messagesRepository; _eventsRepository = studentifyEventsRepository; }
public ForumData(DbContext context, IAnswersRepository answersRepository, ICommentsRepository commentsRepository, ISectionsRepository sectionsRepository, IThreadsRepository threadsRepository) { this.context = context; this.answersRepository = answersRepository; this.commentsRepository = commentsRepository; this.sectionsRepository = sectionsRepository; this.threadsRepository = threadsRepository; }
public RoomLogic(IRoomRepository roomRepository, IThreadsRepository threadsRepository, IMessagesRepository messagesRepository, IMessagesLogic messagesLogic, IThreadsLogic threadsLogic, IAuthLogic authLogic) { this.roomRepository = roomRepository; this.threadsRepository = threadsRepository; this.messagesRepository = messagesRepository; this.messagesLogic = messagesLogic; this.threadsLogic = threadsLogic; this.authLogic = authLogic; }
public ThreadsController(IThreadsRepository t) { repo = t; }
private IThreadsRepository repo; // for Unit Testing public ThreadsController() { repo = new ThreadsRepository(); }
public ThreadsLogic(IThreadsRepository threadsRepository, IReactionRepository reactionRepository) { this.threadsRepository = threadsRepository; this.reactionRepository = reactionRepository; }