Exemple #1
0
 public static int AddNewLetterSubscribers(string Email, string ClientIP, bool IsActive, string AddedBy, DateTime AddedOn, int PortalID)
 {
     try
     {
         return(NewLetterSubscriberProvider.AddNewLetterSubscribers(Email, ClientIP, IsActive, AddedBy, AddedOn, PortalID));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #2
0
 public static int UpdateNewLetterSettings(int UserModuleID, string SettingKey, string SettingValue, bool IsActive, int PortalID, string UpdatedBy, string AddedBy)
 {
     try
     {
         return(NewLetterSubscriberProvider.UpdateNewLetterSettings(UserModuleID, SettingKey, SettingValue, IsActive, PortalID, UpdatedBy, AddedBy));
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #3
0
 public NewsLetterSettingsInfo GetNewsLetterSetting(int usermoduleIDControl, int portalID)
 {
     try
     {
         NewLetterSubscriberProvider objProvider = new NewLetterSubscriberProvider();
         NewsLetterSettingsInfo      objNewsletterSettingInfo = objProvider.GetNewsLetterSetting(usermoduleIDControl, portalID);
         return(objNewsletterSettingInfo);
     }
     catch (Exception)
     {
         throw;
     }
 }
 /// <summary>
 /// Returns news letter's setting
 /// </summary>
 /// <param name="usermoduleIDControl">User module ID</param>
 /// <param name="portalID">Portal ID</param>
 /// <returns>News letter setting</returns>
 public NewsLetterSettingsInfo GetNewsLetterSetting(int usermoduleIDControl, int portalID)
 {
     try
     {
         NewLetterSubscriberProvider objProvider = new NewLetterSubscriberProvider();
         NewsLetterSettingsInfo objNewsletterSettingInfo = objProvider.GetNewsLetterSetting(usermoduleIDControl, portalID);
         return objNewsletterSettingInfo;
     }
     catch(Exception)
     {
         throw;
     }
 }