Exemple #1
0
        public OperationResult <IList <IQuestionDTO> > GetQuestionsOfPaper(int paperId)
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.GetQuestionsOfPaper(paperId));
        }
Exemple #2
0
        public OperationResult <bool> DeletePaper(int paperId)
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.DeletePaper(paperId));
        }
Exemple #3
0
        public OperationResult <IPaperDTO> GetPaperById(int paperId)
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.GetPaperById(paperId));
        }
Exemple #4
0
        public OperationResult <bool> SavePaper(IPaperDTO noticeDTO)
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.SavePaper(noticeDTO));
        }
Exemple #5
0
        public OperationResult <IList <IPaperDTO> > GetAllPapers()
        {
            IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>();

            return(paperBDC.GetAllPapers());
        }