Fix an out-of-date comment
This commit is contained in:
parent
48bfdceea6
commit
2d62553122
|
|
@ -11,7 +11,7 @@ namespace ActionConstraintsWebSite
|
|||
[Consumes("text/json")]
|
||||
public Product CreateProduct([FromBody] Product_Json product)
|
||||
{
|
||||
// should be picked if request content type is application/xml and not application/json.
|
||||
// should be picked if request content type is text/json and not application/json.
|
||||
product.SampleString = "ConsumesAttribute_OverridesBaseController_text/json";
|
||||
return product;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue