Exemplo n.º 1
0
        public static UserPassword Load(Int32 userId, Byte passwordNumber)
        {
            UserPassword userPassword = new UserPassword();

            if (userPassword.Load(userId, passwordNumber))
            {
                return(userPassword);
            }
            return(null);
        }
Exemplo n.º 2
0
        public static bool Delete(Int32 userId, Byte passwordNumber)
        {
            UserPassword userPassword = new UserPassword();

            if (userPassword.Load(userId, passwordNumber))
            {
                return(userPassword.Delete());
            }
            return(false);
        }