public HttpResponseMessage UpdateWarrantyById(QuoteWarranties warranty)
        {
            var result = QsDataRepository.UpdateWarrantyById(warranty);

            return(Request.CreateResponse(result ? HttpStatusCode.OK : HttpStatusCode.NotFound, result));
        }