public bool ConfigurePollMonitor() { bool ret = false; QuestionWorker questionWorker = new QuestionWorker(); return(ret); }
public List <string> GetPollResults(string questionID) { List <string> ret = null; QuestionWorker worker = new QuestionWorker(); ret = worker.GetPollResults(questionID); return(ret); }
public bool SaveAnswer(PollUserAnswer answer) { bool ret = false; QuestionWorker worker = new QuestionWorker(); ret = worker.SaveAnswer(answer); return(ret); }
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"); } }
public PollQuestion GetActiveQuestion() { QuestionWorker questionWorker = new QuestionWorker(); return(questionWorker.GetActiveQuestion()); }