public PartialViewResult GetReceivableView(bool IsView, string SecurityID) { ReceivableModel model = new ReceivableModel(); SelectList lstStatus = new SelectList(_clsGlobal.GetListOfValue("SECURITY_ITEM_STATUS", "", "O", "", ""), "Value", "Text"); ViewBag.StatusList = lstStatus; if (!string.IsNullOrEmpty(SecurityID)) { model = _clsSecurity.GetDebentureReceivablesDetails(SecurityID); } ViewBag.Viewable = IsView; return(PartialView("_ReceivablesPartialView", model)); }