Пример #1
0
        public OperationResult <bool> SaveQuestion(IQuestionDTO questionId)
        {
            IQuestionBDC questionBDC = BDCFactory.Create <IQuestionBDC>();

            return(questionBDC.SaveQuestion(questionId));
        }
Пример #2
0
        public OperationResult <bool> DeleteQuestion(int questionId)
        {
            IQuestionBDC questionBDC = BDCFactory.Create <IQuestionBDC>();

            return(questionBDC.DeleteQuestion(questionId));
        }
Пример #3
0
        public OperationResult <IList <IQuestionDTO> > GetAllQuestions()
        {
            IQuestionBDC questionBDC = BDCFactory.Create <IQuestionBDC>();

            return(questionBDC.GetAllQuestions());
        }
Пример #4
0
        public OperationResult <IQuestionDTO> GetQuestionById(int questionId)
        {
            IQuestionBDC questionBDC = BDCFactory.Create <IQuestionBDC>();

            return(questionBDC.GetQuestionById(questionId));
        }
Пример #5
0
        public OperationResult <IList <IQuestionDTO> > GetQuestionsOfPaper(int paperId)
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.GetQuestionsOfPaper(paperId));
        }
Пример #6
0
        public OperationResult <bool> DeletePaper(int paperId)
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.DeletePaper(paperId));
        }
Пример #7
0
        public OperationResult <bool> SavePaper(IPaperDTO noticeDTO)
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.SavePaper(noticeDTO));
        }
Пример #8
0
        public OperationResult <IPaperDTO> GetPaperById(int paperId)
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.GetPaperById(paperId));
        }
Пример #9
0
        public OperationResult <IList <IPaperDTO> > GetAllPapers()
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.GetAllPapers());
        }