private void ManageNewsLetterSubscription(string email, ref int? newID) { string clientIP = Request.UserHostAddress.ToString(); NL_Controller objController = new NL_Controller(); objController.SaveEmailSubscriber(email, Int32.Parse(SageUserModuleID), GetPortalID, GetUsername, clientIP); }
private void ManageNewsLetterSubscription(string email, ref int? newID) { string clientIP = Request.UserHostAddress.ToString(); int userModuleID = 0; userModuleID = Int32.Parse(SageUserModuleID); //NewLetterSubscriberController.AddNewLetterSubscribers(email, clientIP, true, GetUsername, DateTime.Now, GetPortalID); NL_Controller nlc = new NL_Controller(); nlc.SaveEmailSubscriber(email, userModuleID, GetPortalID, GetUsername, clientIP); }