//Added by Bharat on 01/June/2017 public ActionResult GetPaymentRule(int PaymentMethod) { Ctx ct = Session["ctx"] as Ctx; PaymentModel _payMdl = new PaymentModel(); return(Json(JsonConvert.SerializeObject(_payMdl.GetPaymentRule(PaymentMethod, ct)), JsonRequestBehavior.AllowGet)); }