public object Get(string name = "") { sellDal dal = new sellDal(); var json = new { Data = dal.sel(name) }; return(json); }
public object GoodsList2(string name) { sellDal dal = new sellDal(); var json = new { Data = dal.sel(name) }; return(json); }
public JsonResult sellList(string name) { sellDal dal = new sellDal(); List <ModelCount> list = dal.sel(name); JsonResult json = new JsonResult(); json.Data = new { Data = list }; return(json); }
public JsonResult SellList(string name = "") { JsonResult json = new JsonResult(); sellDal dal = new sellDal(); List <ModelCount> list = dal.sel(name); json.Data = new { Data = list }; json.JsonRequestBehavior = JsonRequestBehavior.AllowGet; return(json); }