public bool Set(string username, bool offers, bool newsletters)
        {
            if (string.IsNullOrWhiteSpace(username))
            {
                return(false);
            }

            var newsletterSucccess = UpdateNewsletterOptIns.Update(username, newsletters);
            var offerSuccess       = UpdateOfferUserOptIn.Update(username, offers);

            return(offerSuccess && newsletterSucccess);
        }
        public string SignupUser(string userName)
        {
            if (string.IsNullOrEmpty(userName))
            {
                return("false");
            }

            if (FindUserProfile.Find(userName) == null)
            {
                return("mustregister");
            }

            var nResp = UpdateSiteNewsletterOptIn.Update(userName, true);

            return(nResp? "true" : "false");
        }