// ReSharper disable SuggestBaseTypeForParameter
 private void ScheduleFollowUp(History hist)
 // ReSharper disable SuggestBaseTypeForParameter
 {
     if (FollowUp.SelectedValue != "None")
     {
         var followUpInfo = new FollowUpInfo
         {
             AccountId      = hist.AccountId,
             CarryOverNotes = CarryOverNotes.Checked,
             ContactId      = hist.ContactId ?? string.Empty,
             FollowUpType   = FollowUp.SelectedValue ?? string.Empty,
             HistoryId      = hist.Id ?? string.Empty,
             LeadId         = hist.LeadId ?? string.Empty,
             OpportunityId  = hist.OpportunityId ?? string.Empty,
             Regarding      = hist.Description ?? string.Empty,
             TicketId       = hist.TicketId ?? string.Empty
         };
         var sScript = string.Format("setFollowUpInfo('{0}');", followUpInfo.ToJson());
         ScriptManager.RegisterStartupScript(this, GetType(), "schedule_followup", sScript, true);
     }
 }
 // ReSharper disable SuggestBaseTypeForParameter
 // ReSharper disable SuggestBaseTypeForParameter
 private void ScheduleFollowUp(History hist)
 {
     if (FollowUp.SelectedValue != "None")
     {
         var followUpInfo = new FollowUpInfo
                            {
                                AccountId = hist.AccountId,
                                CarryOverNotes = CarryOverNotes.Checked,
                                ContactId = hist.ContactId ?? string.Empty,
                                FollowUpType = FollowUp.SelectedValue ?? string.Empty,
                                HistoryId = hist.Id ?? string.Empty,
                                LeadId = hist.LeadId ?? string.Empty,
                                OpportunityId = hist.OpportunityId ?? string.Empty,
                                Regarding = hist.Description ?? string.Empty,
                                TicketId = hist.TicketId ?? string.Empty
                            };
         var sScript = string.Format("setFollowUpInfo('{0}');", followUpInfo.ToJson());
         ScriptManager.RegisterStartupScript(this, GetType(), "schedule_followup", sScript, true);
     }
 }