Exemplo n.º 1
0
        public OperationResult <List <IDataDTO> > GetAnswers(IAnswerDTO answerDTO)
        {
            IAnswerBDC answerBDC = (IAnswerBDC)BDCFactory.Instance.Create(BDCType.AnswerBDC);

            return(answerBDC.GetAnswers(answerDTO));
        }
Exemplo n.º 2
0
        public OperationResult <IDataDTO> CreateVote(IVoteDTO voteDTO)
        {
            IAnswerBDC answerBDC = (IAnswerBDC)BDCFactory.Instance.Create(BDCType.AnswerBDC);

            return(answerBDC.CreateVote(voteDTO));
        }
Exemplo n.º 3
0
        public OperationResult <IAnswerDTO> Edit(IAnswerDTO answerDTO)
        {
            IAnswerBDC answerBDC = (IAnswerBDC)BDCFactory.Instance.Create(BDCType.AnswerBDC);

            return(answerBDC.Edit(answerDTO));
        }