public List <AgentRecentChatHistory> GetAgentList(ICustomerChat customerChat, int TenantID) { _customerChat = customerChat; return(_customerChat.GetAgentList(TenantID)); }