public List <QuestionBL> GetBySubcategoryId(int subcategoryId)
        {
            DALToBLMapper     poMapper       = new DALToBLMapper();
            List <Question>   questions      = DAL.SDK.Kit.Instance.Questions.GetQuestionsBySubcategoryId(subcategoryId);
            List <QuestionBL> mappedQuestion = poMapper.MapQuestionCollection(questions).ToList();

            return(mappedQuestion);
        }
        public List <QuestionBL> GetByUserId(int userI)
        {
            DALToBLMapper     poMapper       = new DALToBLMapper();
            List <Question>   questions      = DAL.SDK.Kit.Instance.Questions.GetByUserId(userI);
            List <QuestionBL> mappedQuestion = poMapper.MapQuestionCollection(questions).ToList();

            return(mappedQuestion);
        }
        public List <QuestionBL> ContributedBy(int userId)
        {
            DALToBLMapper     poMapper       = new DALToBLMapper();
            List <Question>   questions      = DAL.SDK.Kit.Instance.Questions.ContributedBy(userId);
            List <QuestionBL> mappedQuestion = poMapper.MapQuestionCollection(questions).ToList();

            return(mappedQuestion);
        }
        public List <QuestionBL> GetAll()
        {
            DALToBLMapper     poMapper        = new DALToBLMapper();
            List <Question>   questions       = DAL.SDK.Kit.Instance.Questions.GetAll();
            List <QuestionBL> mappedQuestions = poMapper.MapQuestionCollection(questions).ToList();

            return(mappedQuestions);
        }
        public List <QuestionBL> GetLatests(int nr)
        {
            DALToBLMapper   poMapper  = new DALToBLMapper();
            List <Question> questions = DAL.SDK.Kit.Instance.Questions.GetLatestQuestions(nr);

            for (int i = 0; i < questions.Count(); i++)
            {
                questions[i].Answers = DAL.SDK.Kit.Instance.Answers.GetAnswers(questions[i].Id);
                questions[i].Title   = questions[i].Title.GetLiteralAndNumericalFromString();
            }
            List <QuestionBL> mappedQuestion = poMapper.MapQuestionCollection(questions).ToList();

            return(mappedQuestion);
        }