public HttpResponseMessage DeleteUpload(HttpRequestMessage request, [FromBody] int uploadId)
        {
            return(GetHttpResponse(request, () =>
            {
                HttpResponseMessage response = null;

                // not that calling the WCF service here will authenticate access to the data
                Upload upload = _ExtractionProcessService.GetUpload(uploadId);

                if (upload != null)
                {
                    _ExtractionProcessService.DeleteUpload(uploadId);

                    response = request.CreateResponse(HttpStatusCode.OK);
                }
                else
                {
                    response = request.CreateErrorResponse(HttpStatusCode.NotFound, "No upload found under that ID.");
                }

                return response;
            }));
        }