예제 #1
0
 public List <MessageManagementInfo> GetMessageInfoByMessageTemplateID(int messageTemplateID)
 {
     try
     {
         NL_Provider provider = new NL_Provider();
         return(provider.GetMessageInfoByMessageTemplateID(messageTemplateID));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #2
0
 public void SaveEmailSubscriber(string Email, int UsermoduleID, int PortalID, string UserName, string clientIP)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         cont.SaveEmailSubscriber(Email, UsermoduleID, PortalID, UserName, clientIP);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #3
0
 public void UnSubscribeByEmailLink(int subscriberID)
 {
     try
     {
         NL_Provider provider = new NL_Provider();
         provider.UnSubscribeByEmailLink(subscriberID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #4
0
 public List <MessageManagementInfo> GetMessageTemplateListForSubscribe(int current, int pagesize, bool IsActive, bool IsDeleted, int PortalID, string UserName, string CultureName)
 {
     try
     {
         NL_Provider provider = new NL_Provider();
         return(provider.GetMessageTemplateListForSubscribe(current, pagesize, true, false, PortalID, UserName, CultureName));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #5
0
 public void UnSubscribeUserByEmail(string Email)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         cont.UnSubscribeUserByEmail(Email);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 /// <summary>
 /// Saves email of subscriber.
 /// </summary>
 /// <param name="Email">Email</param>
 /// <param name="UsermoduleID">UsermoduleID</param>
 /// <param name="PortalID">PortalID</param>
 /// <param name="UserName">UserName</param>
 /// <param name="clientIP">clientIP</param>
 public void SaveEmailSubscriber(string Email, int UsermoduleID, int PortalID, string UserName, string clientIP)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         cont.SaveEmailSubscriber(Email, UsermoduleID, PortalID, UserName, clientIP);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #7
0
 public void UnSubscribeUserByMobile(Int64 Phone)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         cont.UnSubscribeUserByMobile(Phone);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public List<NL_Info> CheckPreviousEmailSubscription(string Email)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         return cont.CheckPreviousEmailSubscription(Email);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #9
0
 public List <NL_Info> CheckPreviousEmailSubscription(string Email)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         return(cont.CheckPreviousEmailSubscription(Email));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #10
0
 public List <NL_SettingInfo> GetNLSettingForUnSubscribe()
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         return(cont.GetNLSettingForUnSubscribe());
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #11
0
 public void SaveNLSetting(string SettingKey, string SettingValue, int UserModuleID, int PortalID)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         cont.SaveNLSetting(SettingKey, SettingValue, UserModuleID, PortalID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #12
0
 public List <NL_SettingInfo> GetNLSetting(int UsermoduleID, int PortalID)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         return(cont.GetNLSetting(UsermoduleID, PortalID));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #13
0
 public void SaveMobileSubscriber(Int64 Phone, int UserModuleID, int PortalID, string UserName, string clientIP)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         cont.SaveMobileSubscriber(Phone, UserModuleID, PortalID, UserName, clientIP);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #14
0
 public List <MessageManagementInfo> GetMessageTemplateByTypeID(int MessageTemplateTypeID, string CultureName, int PortalID)
 {
     try
     {
         NL_Provider provider = new NL_Provider();
         return(provider.GetMessageTemplateByTypeID(MessageTemplateTypeID, CultureName, PortalID));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #15
0
 public void SaveNewsLetter(string Subject, string BodyMsg, int UserModuleID, int PortalID)
 {
     try
     {
         NL_Provider provider = new NL_Provider();
         provider.SaveNewsLetter(Subject, BodyMsg, UserModuleID, PortalID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #16
0
 public List <NL_Info> GetSubscriberEmailList(int PortalID)
 {
     try
     {
         NL_Provider provider = new NL_Provider();
         return(provider.GetSubscriberEmailList(PortalID));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public List<NL_SettingInfo> GetNLSetting(int UsermoduleID, int PortalID)
        {
            try
            {
                NL_Provider cont = new NL_Provider();
                return cont.GetNLSetting(UsermoduleID, PortalID);

            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public List<NL_SettingInfo> GetNLSettingForUnSubscribe()
        {
            try
            {
                NL_Provider cont = new NL_Provider();
                return cont.GetNLSettingForUnSubscribe();

            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public void SaveNLSetting(string SettingKey, string SettingValue, int UserModuleID, int PortalID)
        {
            try
            {
                NL_Provider cont = new NL_Provider();
                cont.SaveNLSetting(SettingKey, SettingValue, UserModuleID, PortalID);

            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public void SaveMobileSubscriber(Int64 Phone, int UserModuleID, int PortalID, string UserName, string clientIP)
        {
            try
            {
                NL_Provider cont = new NL_Provider();
                cont.SaveMobileSubscriber(Phone, UserModuleID, PortalID, UserName, clientIP);


            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
 public void UnSubscribeUserByMobile(Int64 Phone)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         cont.UnSubscribeUserByMobile(Phone);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public List<MessageManagementInfo> GetMessageTemplateByTypeID(int MessageTemplateTypeID, string CultureName, int PortalID)
 {
     try
     {
         NL_Provider provider = new NL_Provider();
         return provider.GetMessageTemplateByTypeID(MessageTemplateTypeID, CultureName, PortalID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public void SaveNewsLetter(string Subject, string BodyMsg, int UserModuleID, int PortalID)
        {
            try
            {
                NL_Provider provider = new NL_Provider();
                provider.SaveNewsLetter(Subject, BodyMsg,UserModuleID,PortalID);
            }
            catch (Exception ex)
            {
                throw ex;
            }

        }
        public List<NL_Info> GetSubscriberEmailList(int PortalID)
        {
            try
            {
                NL_Provider provider = new NL_Provider();
                return provider.GetSubscriberEmailList(PortalID);

            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
 public List<NL_Info> GetSubscriberList(int index)
 {
     NL_Provider provider = new NL_Provider();
     return provider.GetSubscriberList(index);
 }
        public void UnSubscribeByEmailLink(int subscriberID)
        {
            try
            {
                NL_Provider provider = new NL_Provider();
                provider.UnSubscribeByEmailLink(subscriberID);

            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
 public void UnSubscribeUserByEmail(string Email)
 {
     try
     {
         NL_Provider cont = new NL_Provider();
         cont.UnSubscribeUserByEmail(Email);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public List<MessageManagementInfo> GetMessageTemplateListForSubscribe(int current, int pagesize, bool IsActive, bool IsDeleted, int PortalID, string UserName, string CultureName)
 {
     try
     {
         NL_Provider provider = new NL_Provider();
         return provider.GetMessageTemplateListForSubscribe(current, pagesize, true, false, PortalID, UserName, CultureName);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public List<MessageManagementInfo> GetMessageInfoByMessageTemplateID(int messageTemplateID)
 {
     try
     {
         NL_Provider provider = new NL_Provider();
         return provider.GetMessageInfoByMessageTemplateID(messageTemplateID);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public void SaveEmailSubscriber(string email, int userModuleID, int portalID, string userName, string clientIP)
        {
            try
            {
                NL_Provider cont = new NL_Provider();
                cont.SaveEmailSubscriber(email, userModuleID, portalID, userName, clientIP);

            }
            catch (Exception e)
            {
                throw e;
            }
        }
예제 #31
0
        public List <NL_Info> GetSubscriberList(int index)
        {
            NL_Provider provider = new NL_Provider();

            return(provider.GetSubscriberList(index));
        }