public JsonResult AddUpdateAgentIP(int agentId, string IPAddress, bool IsAutoExpire, DateTime ActiveDate, DateTime ExpiryDate, bool IsActive)
        {
            AgentIPManagementModel SaveAgentIPInfo = new AgentIPManagementModel()
            {
                IPAddress      = IPAddress,
                IsActive       = IsActive,
                IsAutoExpire   = IsAutoExpire,
                ActiveDate     = ActiveDate,
                ExpiryDateTime = ExpiryDate,
                AgentId        = agentId,
            };
            var ts        = (TravelSession)Session["TravelPortalSessionInfo"];
            int AgentIPid = _agentProvider.SaveAgentIPInfo(SaveAgentIPInfo, ts.AppUserId);

            SaveAgentIPInfo = _agentProvider.GetAgentIPInfo(AgentIPid);
            /////// Returing JSON Result Back //////////////////////////////
            JsonResult result = new JsonResult();

            result.Data = SaveAgentIPInfo;
            return(result);
        }