예제 #1
0
 public List <getExamQuestionListByExamId_Result> getExamQuestionListByExamId(int ExamId)
 {
     try
     {
         List <getExamQuestionListByExamId_Result> ExamQuestion = new List <getExamQuestionListByExamId_Result>();
         using (aspccEntities db = new aspccEntities())
         {
             ExamQuestion = db.getExamQuestionListByExamId(ExamId).ToList();
             return(ExamQuestion);
         }
     }
     catch (Exception ex)
     {
         com.Loginsert("DalExamQuestionInsertUpdate", "getExamQuestionListByExamId", ex.StackTrace, ex.Message);
         return(null);
     }
 }