I want the example controller below to return a status code 418 with no contents. Setting the status code is e
Problem I want to return a file in my ASP.Net Web API Controller, but all my approaches return the HttpRespon
I'm looking for the correct way to return JSON with a HTTP status code in my .NET Core Web API controller