2 instantiations of SimpleModelWithValidation
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
JsonInputFormatterTestBase.cs (2)
154
var expected = new JsonFormatterController.
SimpleModelWithValidation
(123, "This is a very long name", StreetName: null);
185
var expected = new JsonFormatterController.
SimpleModelWithValidation
(99, "TestName", "Some address");
4 references to SimpleModelWithValidation
FormatterWebSite (2)
Controllers\JsonFormatterController.cs (2)
114
public ActionResult<
SimpleModelWithValidation
> RoundtripModelWithValidation([FromBody]
SimpleModelWithValidation
model)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
JsonInputFormatterTestBase.cs (2)
154
var
expected = new JsonFormatterController.SimpleModelWithValidation(123, "This is a very long name", StreetName: null);
185
var
expected = new JsonFormatterController.SimpleModelWithValidation(99, "TestName", "Some address");