public ChatController(IOaChatService chatService) { this._chatService = chatService; }
////private IHubContext<ChatHub> _hubContext; public ChatController(ISystemService systemService, IOaChatService chatService) { this._systemService = systemService; this._chatService = chatService; }
public ChatHub(IOaChatService chatService) { this._chatService = chatService; }
public ChatController(IServiceProvider serviceProvider, ISystemService systemService, IOaChatService chatService) { _hubContext = serviceProvider.GetService <IHubContext <ChatHub> >(); this._systemService = systemService; this._chatService = chatService; }