public JsonResult tableTermdata(string tblname, string Column1, string Column2) { BusssinessLogic objbal = new BusssinessLogic(); List <PayTerm> lstgrp = new List <PayTerm>(); try { lstgrp = objbal.Bltbltermdata(tblname, Column1, Column2); } catch (Exception ex) { throw ex; } return(Json(lstgrp, JsonRequestBehavior.AllowGet)); }