public void SkipQuestion(String nickname, String password, Int32 questionID) { if (String.IsNullOrEmpty(nickname)) { throw new ArgumentNullException("nickname"); } if (String.IsNullOrEmpty(password)) { throw new ArgumentNullException("password"); } var member = Member.GetMemberViaNicknamePassword(nickname, password); AskAFriend.SkipAskQuestion(questionID); }
public AjaxAskAFriend SkipQuestion() { //All situations in this method //1. if we destroyed session object //2. should we skip this question if anything goes wrong, if yes should //I return NextQuestion try { AskAFriend AAF = CurrentAskAFriend; if (AAF != null) { //AAF.SkipAAFQuestion(); AAF.SkipAskQuestion(); } } catch (Exception ex) { Next2Friends.Data.Trace.Tracer(ex.ToString(), "AAF SkipQuestion"); } return(NextQuestion()); }