public void GetNLSetting(int UserModuleID, int PortalID)
 {
     try
     {
         NL_Controller cont = new NL_Controller();
         List<NL_SettingInfo> objSettingList = cont.GetNLSetting(UserModuleID, PortalID);
         string href = string.Empty;
         string header = string.Empty;
         foreach (NL_SettingInfo objInfo in objSettingList)
         {
             header = "<h4>" + objInfo.ModuleDescription + "</h4>";
             href = objInfo.UnSubscribePageName + PageExt;
         }
     }
     catch (Exception ex)
     {
         ProcessException(ex);
     }
 }
 public void GetNLSetting(int UserModuleID, int PortalID)
 {
     try
     {
         NL_Controller cont = new NL_Controller();
         List<NL_SettingInfo> objSettingList = cont.GetNLSetting(UserModuleID, PortalID);
         string href = string.Empty;
         string header = string.Empty;
         foreach (NL_SettingInfo objInfo in objSettingList)
         {
             header = "<h2>" + objInfo.ModuleHeader + "</h2><h4>" + objInfo.ModuleDescription + "</h4>";
             href = objInfo.UnSubscribePageName + PageExt;
         }
         moduleHeader.Text = header;
         UnSubscribe.Text = "<a id='btnUnsubscibe' href='" + href + "' class='sfUnSubscribeButton sfLocale'>Click here to UnSubscribe</a>";
     }
     catch (Exception ex)
     {
         ProcessException(ex);
     }
 }