IT:AD:ASP.NET:WebAPI:HowTo:Errors
Summary
Because it is a Web protocol we don't thro an exception – we return a
//Failed get throw new HttpResponseException(HttpStatusCode.NotFound);
//etc.
it:ad:asp.net:webapi:howto:errors
Because it is a Web protocol we don't thro an exception – we return a
//Failed get throw new HttpResponseException(HttpStatusCode.NotFound);
//etc.