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

                // not that calling the WCF service here will authenticate access to the data
                IncomeNEAMapping inm = _MPRIncomeService.GetIncomeNEAMapping(incomeNEAmappingId);

                if (inm != null)
                {
                    _MPRIncomeService.DeleteIncomeNEAMapping(incomeNEAmappingId);

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

                return response;
            }));
        }