public MessageService( IRepository <Message> messageRepository, MessagingFactory messagingFactory, UserChatAssociationsService userChatAssociationsService) { this.messageRepository = messageRepository; this.messagingFactory = messagingFactory; this.userChatAssociationsService = userChatAssociationsService; }
public ChatService( IRepository <Chat> chatRepository, UserChatAssociationsService userChatAssociationsService, MessagingFactory messagingFactory) { this.chatRepository = chatRepository; this.userChatAssociationsService = userChatAssociationsService; this.messagingFactory = messagingFactory; }