public HttpResponseMessage DeleteWarranty(Guid id)
        {
            var result = QsDataRepository.DeleteWarranty(id);

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