public OperationResult <List <IDataDTO> > GetAnswers(IAnswerDTO answerDTO) { IAnswerBDC answerBDC = (IAnswerBDC)BDCFactory.Instance.Create(BDCType.AnswerBDC); return(answerBDC.GetAnswers(answerDTO)); }
public OperationResult <IDataDTO> CreateVote(IVoteDTO voteDTO) { IAnswerBDC answerBDC = (IAnswerBDC)BDCFactory.Instance.Create(BDCType.AnswerBDC); return(answerBDC.CreateVote(voteDTO)); }
public OperationResult <IAnswerDTO> Edit(IAnswerDTO answerDTO) { IAnswerBDC answerBDC = (IAnswerBDC)BDCFactory.Instance.Create(BDCType.AnswerBDC); return(answerBDC.Edit(answerDTO)); }