[HttpGet]
public JsonResult GetModifyList(int? id)
{
object CustomerList = db.Raslyer_Table_Customers_Modify.Where(u=>u.CustomerId==id);
return Json(CustomerList, JsonRequestBehavior.AllowGet);
}
我的CustomerList获取的是
可是每当返回json时就报错:Jsonerror CS0428: 无法将方法组“Json”转换为非委托类型“object”。是否希望调用此方法?
这是我的前台代码:
路过的大神帮忙解决一下呗,我试了好几种方法,都不能解决
宝慕林4294392
相关分类