示例#1
0
        public JsonResult GetProduct(uint id)
        {
            Product product         = ProductsProvider.GetProductById(id);
            string  JsonDataProduct = JsonConvert.SerializeObject(product);

            return(Json(JsonDataProduct));
        }