public static List <QuestionModel> GetAllQuestionsByTutorial(string tenantId, string code) { try { var questions = SQLAdapter.GetQuestionsByTutorialGroup(tenantId, code); var questionModels = ModelMapper.MapToQuestionModels(questions); return(questionModels); } catch (Exception e) { return(null); } }