Ejemplo n.º 1
0
        public bool ConfigurePollMonitor()
        {
            bool ret = false;

            QuestionWorker questionWorker = new QuestionWorker();

            return ret;
        }
Ejemplo n.º 2
0
        public List<string> GetPollResults(string questionID)
        {
            List<string> ret = null;

            QuestionWorker worker = new QuestionWorker();
            ret = worker.GetPollResults(questionID);

            return ret;
        }
Ejemplo n.º 3
0
        public bool SaveAnswer(PollUserAnswer answer)
        {
            bool ret = false;

            QuestionWorker worker = new QuestionWorker();
            ret = worker.SaveAnswer(answer);

            return ret;
        }
Ejemplo n.º 4
0
 public void GetsActivePollQuestion()
 {
     ePoll.Types.PollQuestion activeQuestion;
     ePollWorker.QuestionWorker question = new QuestionWorker();
     activeQuestion = question.GetActiveQuestion();
     if (activeQuestion != null)
     {
         Assert.IsTrue(activeQuestion.Active, "No Active Question");
     }
     else
     {
         Assert.Fail("Poll Question is null");
     }
 }
Ejemplo n.º 5
0
 public PollQuestion GetActiveQuestion()
 {
     QuestionWorker questionWorker = new QuestionWorker();
     return questionWorker.GetActiveQuestion();
 }