3 instantiations of Person
SimpleWebSiteWithWebApplicationBuilder (3)
Program.cs (3)
24app.MapGet("/json", () => Json(new Person("John", 42))); 26app.MapGet("/ok-object", () => Ok(new Person("John", 42))); 28app.MapGet("/accepted-object", () => Accepted("/ok-object", new Person("John", 42)));
2 references to Person
SimpleWebSiteWithWebApplicationBuilder (2)
Program.cs (2)
47app.MapPost("/accepts-default", (Person person) => Results.Ok(person.Name)); 48app.MapPost("/accepts-xml", () => Accepted()).Accepts<Person>("application/xml");