Beispiel #1
0
 public IList <QuestionGroup> GetAllQuestionGroups(bool fetchActiveQuestionGroupsOnly = true, bool fetchQuestions = false, bool fetchActiveQuestionsOnly = true)
 {
     try
     {
         return(_repository.GetAllQuestionGroups(fetchActiveQuestionGroupsOnly, fetchQuestions, fetchActiveQuestionsOnly));
     }
     catch (SqlException sqlEx)
     {
         throw new Exception(EnumUtils.GetStringValue(ErrorMessage.UserDefinedMessage), sqlEx);
     }
     catch (Exception ex)
     {
         throw new Exception(EnumUtils.GetStringValue(ErrorMessage.UserDefinedMessage), ex);
     }
 }