public ChatService(IChatRepository chatRepository, IMessageRepository messageRepository, IUserChatRepository userChatRepository, UserManager <User> userManager) { this.chatRepository = chatRepository; this.messageRepository = messageRepository; this.userChatRepository = userChatRepository; this.userManager = userManager; }
public UserChatAppService(IUserChatRepository repository) : base(repository) { this.repository = repository; }