public HttpResponseMessage Delete(string id) { return(WrapInTryCatch(() => { if (string.IsNullOrEmpty(id)) { throw new ArgumentNullException(); } _queryService.Delete(id); return new HttpResponseMessage(HttpStatusCode.OK); })); }