1 instantiation of Product
FormatterWebSite (1)
Controllers\JsonPatchController.cs (1)
33
return new
Product
13 references to Product
FormatterWebSite (3)
Controllers\JsonPatchController.cs (3)
13
public IActionResult PatchProduct([FromBody] JsonPatchDocument<
Product
> patchDoc)
20
var
product = CreateProduct();
31
private
Product
CreateProduct()
Microsoft.AspNetCore.Mvc.FunctionalTests (10)
JsonPatchInputFormatterTest.cs (10)
46
var
product = JsonConvert.DeserializeObject<
Product
>(body);
66
var
product = JsonConvert.DeserializeObject<
Product
>(body);
86
var
product = JsonConvert.DeserializeObject<
Product
>(body);
107
var
product = JsonConvert.DeserializeObject<
Product
>(body);
128
var
product = JsonConvert.DeserializeObject<
Product
>(body);