public ConversationHub(IQueryContext queryContext, ICommandContext commandContext, IUserSummaryRepository userSummaryRepository, IConversationRepository conversationRepository, IConversationBoundedContext conversationBoundedContext) { this._queryContext = queryContext; this._commandContext = commandContext; this._userSummaryRepository = userSummaryRepository; this._conversationRepository = conversationRepository; this._conversationBoundedContext = conversationBoundedContext; }
public ConversationsController(IConversationBoundedContext conversationBoundedContext, IConversationRepository conversationRepository, IMessageRepository messageRepository) { this._conversationBoundedContext = conversationBoundedContext; this._conversationRepository = conversationRepository; this._messageRepository = messageRepository; }