public ResponseModel GetAgentRecentChat(int CustomerID)
        {
            ResponseModel objResponseModel = new ResponseModel();
            int           statusCode       = 0;
            string        statusMessage    = "";
            List <AgentRecentChatHistory> RecentChatsList = new List <AgentRecentChatHistory>();

            try
            {
                string       token        = Convert.ToString(Request.Headers["X-Authorized-Token"]);
                Authenticate authenticate = new Authenticate();
                authenticate = SecurityService.GetAuthenticateDataFromToken(_radisCacheServerAddress, SecurityService.DecryptStringAES(token));


                CustomerChatCaller customerChatCaller = new CustomerChatCaller();

                RecentChatsList = customerChatCaller.GetAgentRecentChat(new CustomerChatService(_connectionString), authenticate.TenantId, authenticate.ProgramCode, CustomerID);

                statusCode    = RecentChatsList.Count > 0? (int)EnumMaster.StatusCode.Success : (int)EnumMaster.StatusCode.RecordNotFound;
                statusMessage = CommonFunction.GetEnumDescription((EnumMaster.StatusCode)statusCode);


                objResponseModel.Status       = true;
                objResponseModel.StatusCode   = statusCode;
                objResponseModel.Message      = statusMessage;
                objResponseModel.ResponseData = RecentChatsList;
            }
            catch (Exception)
            {
                throw;
            }
            return(objResponseModel);
        }