Esempio n. 1
0
        public string UserSignup(SignupUser data)
        {
            SignupUser filteredSignupUser = SharedSupport.FilterSignupUser(data);

            if (DBSupport.IsSignupUserExist(filteredSignupUser))
            {
                return(usernameExists.Replace("username", data.Username));
            }
            else if (DBSupport.SignupNewUser(filteredSignupUser))
            {
                return("True");
            }

            return("False");
        }