public ActionResult CampaignFollowUp(ACM.Model.CampaignFollowUp cmpFollowUp) { ACM.Model.CampaignFollowUp CampFollowUp = new ACM.Model.CampaignFollowUp(); if (cmpFollowUp != null && cmpFollowUp.CampaignId == 0) { cmpFollowUp.CampaignId = Convert.ToInt32(Session["CampaignId"]); } else { CampFollowUp.CampaignId = Convert.ToInt32(cmpFollowUp.CampaignId); } var campaignFollowUp = campaignServiceClient.CampaignFollowUpInq(CampFollowUp); if (campaignFollowUp == null) { campaignFollowUp = new Model.CampaignFollowUp(); campaignFollowUp.CampaignId = CampFollowUp.CampaignId; } var FollowUpList = campaignServiceClient.GetMasterDropDownDataforMasterTables("FollowUpId", "FollowUpDescription", "FollowUp"); ViewBag.FollowUpList = new SelectList(FollowUpList, "id", "name"); return(PartialView(campaignFollowUp)); }