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