public void PreparePoll(PollsOptionObject poll)
 {
     if (!string.IsNullOrEmpty(poll.Text))
     {
         var prepareText = Methods.FunString.DecodeString(Methods.FunString.SubStringCutOf(poll.Text, 100));
         poll.Text = prepareText;
     }
 }
Ejemplo n.º 2
0
 public void PreparePoll(PollsOptionObject poll)
 {
     try
     {
         if (!string.IsNullOrEmpty(poll.Text))
         {
             var prepareText = Methods.FunString.DecodeString(Methods.FunString.SubStringCutOf(poll.Text, 100));
             poll.Text = prepareText;
         }
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }