Minor refactoring.

Reduced arrow code (if nesting).
Return IHttpResponseMessage instead of HttpResponseMessage.