示例#1
0
        public dynamic post_signup_verify(VerifyInputModel model)
        {
            var account = Session.Load <UserAccount>(model.UserId);


            if (account == null)
            {
                throw new InvalidOperationException("No user account found for userId " + model.UserId);
            }

            account.Status = UserAccountStatus.Verified;

            return(account);
        }
示例#2
0
        public dynamic post_signup_verify(VerifyInputModel model)
        {
            var account = Session.Load<UserAccount>(model.UserId);

            if (account == null)
                throw new InvalidOperationException("No user account found for userId " + model.UserId);

            account.Status = UserAccountStatus.Verified;

            return account;
        }