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 MessagesController(IMessagesLogic messagesLogic, IThreadsLogic threadsLogic, IAuthLogic authLogic) { this.messagesLogic = messagesLogic; this.threadsLogic = threadsLogic; this.authLogic = authLogic; }