public ChatHub() { _db = new OMCSDBContext(); business = new ConversationBusiness(_db); helper = new ChatHubHelper(_db); Doctors = helper.GetListDoctors(); }
public ChatController(IHubContext <ChatHub> chatHub, ChatService chatService) { _chatService = chatService; _chatHub = new ChatHubHelper(chatHub); }