public JsonResult GetProduct(uint id) { Product product = ProductsProvider.GetProductById(id); string JsonDataProduct = JsonConvert.SerializeObject(product); return(Json(JsonDataProduct)); }
public JsonResult GetProduct(uint id) { Product product = ProductsProvider.GetProductById(id); string JsonDataProduct = JsonConvert.SerializeObject(product); return(Json(JsonDataProduct)); }