コード例 #1
0
        public object Get(string name = "")
        {
            sellDal dal  = new sellDal();
            var     json = new { Data = dal.sel(name) };

            return(json);
        }
コード例 #2
0
        public object GoodsList2(string name)
        {
            sellDal dal  = new sellDal();
            var     json = new { Data = dal.sel(name) };

            return(json);
        }
コード例 #3
0
        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);
        }
コード例 #4
0
        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);
        }