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

                // not that calling the WCF service here will authenticate access to the data
                IncomeProductShare opex = _MPROPEXService.GetIncomeProductShare(ID);

                if (opex != null)
                {
                    _MPROPEXService.DeleteIncomeProductShare(ID);

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

                return response;
            }));
        }