Exemplo n.º 1
0
 public GroupChatController(IGroupChatProvider groupChat, IUserProvider user, IHubContext <ChatHub> chatHub)
 {
     _groupChat = groupChat;
     _user      = user;
     _chatHub   = chatHub;
 }
Exemplo n.º 2
0
 public ChatHub(ISocketProvider socket, IGroupChatProvider groupChat)
 {
     _socket    = socket;
     _groupChat = groupChat;
 }