public int QueryHaveAnsweredQuestionNumber(int userId, int examId)
 {
     try
     {
         exam_answer_detailTableAdapter detailAdapter = new exam_answer_detailTableAdapter();
         return(Convert.ToInt32(detailAdapter.QueryHaveAnsweredQuestionNumber(userId, examId)));
     }
     catch (Exception e)
     {
         Log4NetHelper.WriteErrorLog(typeof(QuestionManager), e);
     }
     return(0);
 }
Beispiel #2
0
        public int QueryHaveAnsweredQuestionNumber(int userId, int examId)
        {
            exam_answer_detailTableAdapter detailAdapter = new exam_answer_detailTableAdapter();

            return(Convert.ToInt32(detailAdapter.QueryHaveAnsweredQuestionNumber(userId, examId)));
        }