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); }
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; }