public JsonResult GetProduct(ulong code) { Product product = ProductsProvider.GetProductByCode(code); string JsonDataProduct = JsonConvert.SerializeObject(product); return(Json(JsonDataProduct)); }