Guest User

Untitled

a guest
Jan 21st, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. throw new HttpResponseException(Request.CreateErrorResponse(HttpStatusCode.NotFound, String.Format("Contact {0} not found.", id)));
  2.  
  3. {
  4. "Message": "Contact 22 not found.",
  5. "MessageDetail": "<other info - not always present>"
  6. }
Add Comment
Please, Sign In to add comment