Beispiel #1
0
 public PollAnswerDetailModel(PollAnswer pollAnswer)
     : this()
 {
     Id           = pollAnswer.Id;
     PollAnswer   = new PollAnswerManageModel(pollAnswer);
     PollQuestion = pollAnswer.Poll.PollQuestion;
     PollSummary  = pollAnswer.Poll.PollSummary;
     IsMultiple   = pollAnswer.Poll.IsMultiple;
     ThankyouText = pollAnswer.Poll.ThankyouText;
     Created      = pollAnswer.Created;
     CreatedBy    = pollAnswer.CreatedBy;
     LastUpdate   = pollAnswer.LastUpdate;
     LastUpdateBy = pollAnswer.LastUpdateBy;
     PollId       = pollAnswer.PollId;
 }
Beispiel #2
0
 public PollAnswerDetailModel()
 {
     PollAnswer = new PollAnswerManageModel();
 }