public void SaveUserAgentMode(string AgentMode, int PortalID, string UserName, DateTime ChangeDate, bool IsActive)
 {
     try
     {
         UserAgentProvider objProvider = new UserAgentProvider();
         objProvider.SaveUserAgentMode(AgentMode, PortalID, UserName, DateTime.Now, true);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public void SaveUserAgentMode(string AgentMode, int PortalID, string UserName, DateTime ChangeDate, bool IsActive)
 {
     try
     {
         UserAgentProvider objProvider = new UserAgentProvider();
         objProvider.SaveUserAgentMode(AgentMode, PortalID, UserName, DateTime.Now, true);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public string GetUserAgent(int PortalID, bool IsActive)
 {
     try
     {
         UserAgentProvider objProvider = new UserAgentProvider();
         return(objProvider.GetUserAgent(PortalID, IsActive));
     }
     catch (Exception)
     {
         throw;
     }
 }
        public string GetUserAgent(int PortalID, bool IsActive)
        {
            try
            {
                UserAgentProvider objProvider = new UserAgentProvider();
                return (objProvider.GetUserAgent(PortalID, IsActive));
            }
            catch (Exception)
            {

                throw;
            }
        }