public void PreparePoll(PollsOptionObject poll) { if (!string.IsNullOrEmpty(poll.Text)) { var prepareText = Methods.FunString.DecodeString(Methods.FunString.SubStringCutOf(poll.Text, 100)); poll.Text = prepareText; } }
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); } }