Ejemplo n.º 1
0
 public ThreadsController(IThreadsRepository threadsRepository, IMessagesRepository messagesRepository, IStudentifyAccountsRepository accountsRepository, IStudentifyEventsRepository studentifyEventsRepository)
 {
     _threadsRepository  = threadsRepository;
     _accountsRepository = accountsRepository;
     _messagesRepository = messagesRepository;
     _eventsRepository   = studentifyEventsRepository;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 public ThreadsController(IThreadsRepository t)
 {
     repo = t;
 }
Ejemplo n.º 5
0
 private IThreadsRepository repo;  // for Unit Testing
 
 public ThreadsController()
 {
     repo = new ThreadsRepository();
 }
Ejemplo n.º 6
0
 public ThreadsLogic(IThreadsRepository threadsRepository, IReactionRepository reactionRepository)
 {
     this.threadsRepository  = threadsRepository;
     this.reactionRepository = reactionRepository;
 }