Esempio n. 1
0
        public bool SignUp(User newUser)
        {
            SqlParameter p1 = new SqlParameter("UserName", newUser.UserName);
            SqlParameter p2 = new SqlParameter("Name", newUser.Name);
            SqlParameter p3 = new SqlParameter("SurName", newUser.Surname);
            SqlParameter p4 = new SqlParameter("Password", newUser.Password);

            return(sqlHelper.StateProc("UserSignUp", p1, p2, p3, p4));
        }