public void DisplayAction(SurveyModel.Question q, Poll poll, Control container, List <QuestionWebControl> ctls)
 {
     if (poll.Meetings.Count == 0)
     {
         return;
     }
     container.Controls.Add(new LiteralControl(QuestionTypeActionFactory.QuestionMarkup(q)));
     foreach (var m in poll.Meetings)
     {
         container.Controls.Add(new LiteralControl($@"<span class=""sub-block-title"">
             Meeting from {m.date_start} to {m.date_end} 
             </span>"));
         foreach (var sq in q.SubQuestions)
         {
             var csq     = (SubQuestion)sq.Clone();
             var manager = new Manager();
             csq.Answer = manager.getAnswer(poll.Id, poll.TableMeetingName, csq.Category,
                                            QuestionTypeActionFactory.getActionByName(csq.Category).getAnswerComlunName(csq),
                                            poll.PersonId, m.id_meeting);
             csq.Activity = m;
             var qc = new QuestionWebControl(csq);
             ctls.Add(qc);
             container.Controls.Add(qc);
         }
     }
     container.Controls.Add(new LiteralControl("<br/>"));
 }
        public void DisplayAction(SurveyModel.Question q, Poll poll, Control container, List <QuestionWebControl> ctls)
        {
            var manager = new Manager();

            q.Answer = manager.getAnswer(poll.Id, poll.TableName, q.Category,
                                         QuestionTypeActionFactory.getActionByName(q.Category).getAnswerComlunName(q), poll.PersonId);
            var qc = new QuestionWebControl(q);

            ctls.Add(qc);
            container.Controls.Add(qc);
        }
 public string aspxDesignerCsAction(SurveyModel.Question q, Poll poll)
 {
     throw new NotImplementedException();
 }