We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3b7b6e commit 2d84af1Copy full SHA for 2d84af1
1 file changed
aspnetcore/web-api/handle-errors/samples/2.x/2.2/Startup.cs
@@ -44,7 +44,7 @@ public void ConfigureServices(IServiceCollection services)
44
{
45
var result = new BadRequestObjectResult(context.ModelState);
46
47
- // TODO: add `using using System.Net.Mime;` to resolve MediaTypeNames
+ // TODO: add `using System.Net.Mime;` to resolve MediaTypeNames
48
result.ContentTypes.Add(MediaTypeNames.Application.Json);
49
result.ContentTypes.Add(MediaTypeNames.Application.Xml);
50
0 commit comments