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

                // not that calling the WCF service here will authenticate access to the data
                UploadRole uploadRole = _ExtractionProcessService.GetUploadRole(uploadRoleId);

                if (uploadRole != null)
                {
                    _ExtractionProcessService.DeleteUploadRole(uploadRoleId);

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

                return response;
            }));
        }