//get Fee By Customer public JsonResult getFee() { db.Configuration.ProxyCreationEnabled = false; List <VT_GetAllFeeByConsignee_Result> conList = db.VT_GetAllFeeByConsignee().ToList(); return(Json(new { data = conList }, JsonRequestBehavior.AllowGet)); }