public HttpResponseMessage GetQuoteById(Guid id) { Quote quote = QsDataRepository.GetQuote(id); return(Request.CreateResponse(quote != null ? HttpStatusCode.OK : HttpStatusCode.NotFound, quote)); }