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

                // not that calling the WCF service here will authenticate access to the data
                MPRGLMapping mprglMapping = _MPRPLService.GetMPRGLMapping(mprglMappingId);

                if (mprglMapping != null)
                {
                    _MPRPLService.DeleteMPRGLMapping(mprglMappingId);

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

                return response;
            }));
        }