コード例 #1
0
        public object GoodsDelete(int id)
        {
            int   num   = 0;
            Goods goods = new Goods()
            {
                GoodsId = id
            };
            int result = GoodsDAL.GoodsDelete(goods);

            if (result > 0)
            {
                num = result;
            }
            return(Json(num));
        }