public ChatSessionRepository(ChatUserSessionRepository chatUserSessionRepository, IPersistenceContext <ChatSession> dbContext, ISecurityProvider <ChatSession> securityProvider = null, IUserSession userSession = null, MessageBus messageBus = null) : base(dbContext, messageBus) { ChatUserSessionRepository = chatUserSessionRepository; SecurityProvider = securityProvider; UserSession = userSession; }
public ChatMessageRepository(IPersistenceContext <ChatMessage> dbContext, ISecurityProvider <ChatMessage> securityProvider, ChatUserSessionRepository chatUserSessionRepository, MessageBus messageBus = null) : base(dbContext, messageBus) { ChatUserSessionRepository = chatUserSessionRepository; SecurityProvider = securityProvider; }