public OperationResult <bool> SaveQuestion(IQuestionDTO questionId) { IQuestionBDC questionBDC = BDCFactory.Create <IQuestionBDC>(); return(questionBDC.SaveQuestion(questionId)); }
public OperationResult <bool> DeleteQuestion(int questionId) { IQuestionBDC questionBDC = BDCFactory.Create <IQuestionBDC>(); return(questionBDC.DeleteQuestion(questionId)); }
public OperationResult <IList <IQuestionDTO> > GetAllQuestions() { IQuestionBDC questionBDC = BDCFactory.Create <IQuestionBDC>(); return(questionBDC.GetAllQuestions()); }
public OperationResult <IQuestionDTO> GetQuestionById(int questionId) { IQuestionBDC questionBDC = BDCFactory.Create <IQuestionBDC>(); return(questionBDC.GetQuestionById(questionId)); }
public OperationResult <IList <IQuestionDTO> > GetQuestionsOfPaper(int paperId) { IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>(); return(paperBDC.GetQuestionsOfPaper(paperId)); }
public OperationResult <bool> DeletePaper(int paperId) { IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>(); return(paperBDC.DeletePaper(paperId)); }
public OperationResult <bool> SavePaper(IPaperDTO noticeDTO) { IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>(); return(paperBDC.SavePaper(noticeDTO)); }
public OperationResult <IPaperDTO> GetPaperById(int paperId) { IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>(); return(paperBDC.GetPaperById(paperId)); }
public OperationResult <IList <IPaperDTO> > GetAllPapers() { IPaperBDC paperBDC = BDCFactory.Create <IPaperBDC>(); return(paperBDC.GetAllPapers()); }