public HubChatClient( IChatContext chatContext, IChatRoomRepository chatRoomRepository, IChatSessionRepository chatSessionRepository, IChatUserRepository chatUserRepository, IOptionsMonitor <ChatOptions> chatOptions, IServiceLogger <HubChatClient> logger) { _chatContext = chatContext; _chatRoomRepository = chatRoomRepository; _chatSessionRepository = chatSessionRepository; _chatUserRepository = chatUserRepository; _chatOptions = chatOptions; _logger = logger; }
public ChatSessionBO(IChatSessionRepository chatSessionRepository, IChatSessionJoinnerRepository chatSessionJoinnerRepository, IMapper <ChatSession, ChatSessionDto> chatSessionDtoMapper) { this.chatSessionRepository = chatSessionRepository; this.chatSessionJoinnerRepository = chatSessionJoinnerRepository; this.chatSessionDtoMapper = chatSessionDtoMapper; }