Exemplo n.º 1
0
        public static bool ProcessUser(User user)
        {
            //maybe later encrypt credentials here

            user.passwordhash = PasswordHash.CreateHash(user.passwordhash);
            return(DbConnector.AddUserToDB(user));
        }