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

                // not that calling the WCF service here will authenticate access to the data
                OpexGLBasis opexGLBasis = _MPROPEXService.GetOpexGLBasis(opexGLBasisId);

                if (opexGLBasis != null)
                {
                    _MPROPEXService.DeleteOpexGLBasis(opexGLBasisId);

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

                return response;
            }));
        }