web api return status code with message c#

This is how I did it. Before doing this, I didn't realize that you can actually write

Clicky