Exemple #1
0
        public static List <QuestionModel> GetAllQuestions(string tenantId = null)
        {
            try
            {
                var questions = SQLAdapter.GetAllQuestions(tenantId);

                var questionModels = ModelMapper.MapToQuestionModels(questions);

                return(questionModels);
            }
            catch (Exception e)
            {
                return(null);
            }
        }